Update PAYLOAD_SERVER_URL to PAYLOAD_URL and remove unused env var

This commit is contained in:
Max Schmidt
2023-06-07 10:53:39 +02:00
parent fe5a99f370
commit 2c3b26a809
6 changed files with 18 additions and 19 deletions

View File

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