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
The app is making request to {url}/?_rsc={random_string} and it responses with 404 status code also navigating to other pages hard reloads the page when app is build using npx @cloudflare/next-on-pages.
Note that this issue only appears in production mode (built using npx @cloudflare/next-on-pages).
Here are screenshots of devtools: In production mode (npx @cloudflare/next-on-pages):
In development mode (next dev) or production mode (next build && next start):
Hi @fineshop@nicholasray, thank you for raising this. I have opened a PR that should fix this, and you are welcome to try out the prerelease in #550 (comment)
Thank you very much for providing the reproduction :)
Hi @fineshop@nicholasray, thank you for raising this. I have opened a PR that should fix this, and you are welcome to try out the prerelease in #550 (comment)
Thank you very much for providing the reproduction :)
next-on-pages environment related information
Description
The app is making request to {url}/?_rsc={random_string} and it responses with 404 status code also navigating to other pages hard reloads the page when app is build using
npx @cloudflare/next-on-pages
.Note that this issue only appears in production mode (built using
npx @cloudflare/next-on-pages
).Here are screenshots of devtools:
In production mode (
npx @cloudflare/next-on-pages
):In development mode (
next dev
) or production mode (next build && next start
):Reproduction
See: https://github.com/techwithdeo/next-pages-test
git clone [email protected]:techwithdeo/next-pages-test.git
cd next-pages-test
npm install
npm run pages:build
npm run pages:serve
Works fine ✅ when:
npm run build
npm start
Pages Deployment Method
Not yet deployed
Pages Deployment ID
Not yet deployed
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: