You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having troubles with draft mode as well. 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.
A headsup quote from one maintainer of this repo in the #next-on-pages discord today:
next-on-pages works for pages and will continue to receive bug fixes and whatnot, but the future direction centers around the workers adaptor and that is where you'll see more long-term support focused
So after reading that I tried switching to @opennextjs/cloudflare instead, but that produces workers of ~10mb for me for just a simple project and 1mb seems to be limit for the free tier.
Description
Draft Mode allows you to preview draft content from your headless CMS in your Next.js application. This is useful for static pages that are generated at build time as it allows you to switch to dynamic rendering and see the draft changes without having to rebuild your entire site. https://nextjs.org/docs/app/building-your-application/configuring/draft-mode
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: