Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview mode does not work for Next 12 from open-next 2.2.0 onwards #339

Open
breningham opened this issue Jan 3, 2024 · 2 comments
Open

Comments

@breningham
Copy link
Contributor

breningham commented Jan 3, 2024

As discussed in Discord https://discord.com/channels/983865673656705025/1186653005945245746

TL;DR: as of open-next 2.2.0 Next 12's preview mode does not work, when accessing a route that sets the preview mode cookies (e.g /api/set-preview?slug=redirect-me-to-here), the initial preview mode cookies are set, but when navigating to the resulting page, it 404's and preview cookies are unset.

open-next 2.1.5 works as expected.

@54nd10
Copy link

54nd10 commented May 6, 2024

Having the same issue with Next 14 just no 404 any updates?

@conico974
Copy link
Collaborator

It does work for me in V3 with next 14. ( Not tested yet in next 12)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants