Update environment variables on deployment

This commit is contained in:
Max Schmidt
2023-06-07 10:19:45 +02:00
parent 7244fb1d53
commit 3a39f967ef
5 changed files with 56 additions and 22 deletions

View File

@ -5,7 +5,7 @@ import Users from "./collections/Users";
import Media from "./collections/Media";
export default buildConfig({
serverURL: process.env.PAYLOAD_URL,
serverURL: process.env.PAYLOAD_SERVER_URL,
admin: {
user: Users.slug,
},