We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6105a4a commit 6565c8aCopy full SHA for 6565c8a
packages/runtime/src/templates/server.ts
@@ -58,7 +58,6 @@ const getNetlifyNextServer = (NextServer: NextServerType) => {
58
// for our ODBs and middleware is disabled at the origin
59
// but ignore in preview mode (prerender_bypass is set to true in preview mode)
60
// because otherwise revalidate will override preview mode
61
- // eslint-disable-next-line no-underscore-dangle
62
if (!headers.cookie?.includes('__prerender_bypass')) {
63
// this header controls whether Next.js will revalidate the page
64
// and needs to be set to the preview mode id to enable it
0 commit comments