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 f5bd38d commit 90237c9Copy full SHA for 90237c9
src/globals/Conclusion.ts
@@ -16,11 +16,11 @@ export const Conclusion: GlobalConfig = {
16
livePreview: {
17
url: ({ locale }) => {
18
const params = new URLSearchParams({
19
- path: `/${locale}/conclusion`,
+ path: `${process.env.NEXT_PUBLIC_PAYLOAD_URL}/${locale}/conclusion`,
20
secret: PAYLOAD_SECRET,
21
})
22
23
- return `/draft?${params.toString()}`
+ return `${process.env.NEXT_PUBLIC_PAYLOAD_URL}/draft?${params.toString()}`
24
},
25
26
0 commit comments