We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c0af5 commit b039c5cCopy full SHA for b039c5c
src/collections/Projects.ts
@@ -140,7 +140,7 @@ export const Projects: CollectionConfig = {
140
secret: PAYLOAD_SECRET,
141
})
142
143
- return `https://vectorinterior.design/${locale}/projects/${data.id}`
+ return `/draft?${params.toString()}`
144
},
145
146
src/payload.config.ts
@@ -117,4 +117,5 @@ export default buildConfig({
117
payloadCloudPlugin(),
118
// storage-adapter-placeholder
119
],
120
+ serverURL: process.env.NEXT_PUBLIC_PAYLOAD_URL || '',
121
0 commit comments