We are noticing that our Preview mode is not consistently working. There are times when preview mode will route to the 404 page. Preview mode is only enabled on our staging site and local development. As for as primsic nuxt configs goes; they are set to the following:
modern: process.env.NODE_ENV === 'production'
Looking for insight on why the redirect to 404 is happening after we see the prismic preview mode loader.
Note on this issue. Do see the ping request is returning false as reload value. Unable to reload the 404 and render draft content.
Thanks for reaching out.
I will try to investigate this issue with you. To do so, can you share with me a screen recording or a screenshot of the errors you get in your browser console, as well as some clarification about what you have described as
ping request is returning false as reload value
Looking forward to your reply,
Can you also try to clear the cookies to see if it solves the issue?
Thanks for response. Believe this is interface with our cache layer and the issue has been resolved.
Thanks for letting us know.