sets server URL to env value

This commit is contained in:
augurk 2023-01-24 15:01:41 +01:00
parent 76888be1b9
commit a5489801ba

View File

@ -10,7 +10,7 @@ import Retailers from './collections/Retailers';
export default buildConfig({ export default buildConfig({
serverURL: 'http://localhost:3000', serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL,
admin: { admin: {
user: Users.slug, user: Users.slug,
}, },