-
Notifications
You must be signed in to change notification settings - Fork 73
Closed as not planned
Labels
Description
Hello, I'm trying to build an app that relies on draft mode and I just cannot get it to work on cloudflare using edge runtime. It seems that edge is missing some environment variables that get set in vercel.
In particular I've tracked it down to these:
'__NEXT_PREVIEW_MODE_ENCRYPTION_KEY',
'__NEXT_PREVIEW_MODE_ID',
'__NEXT_PREVIEW_MODE_SIGNING_KEY',
This is the method that uses them: https://github.com/vercel/next.js/blob/canary/packages/next/src/server/web/get-edge-preview-props.ts
Any ideas if I'm just missing some sort of setup from my side? Or is it missing support from cloudflare side? Thanks!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done