Skip to content

Commit 90237c9

Browse files
committed
Test direct url
1 parent f5bd38d commit 90237c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/globals/Conclusion.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ export const Conclusion: GlobalConfig = {
1616
livePreview: {
1717
url: ({ locale }) => {
1818
const params = new URLSearchParams({
19-
path: `/${locale}/conclusion`,
19+
path: `${process.env.NEXT_PUBLIC_PAYLOAD_URL}/${locale}/conclusion`,
2020
secret: PAYLOAD_SECRET,
2121
})
2222

23-
return `/draft?${params.toString()}`
23+
return `${process.env.NEXT_PUBLIC_PAYLOAD_URL}/draft?${params.toString()}`
2424
},
2525
},
2626
},

0 commit comments

Comments
 (0)