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
Using the experimental basePath and linking from any page back to the index page with Link results in a full page reload if the index page uses getServerSideProps. Looking at the network tab in Chrome I see a request to http://localhost:3000/base/_next/data/development.json that 404s. In the production build, the request that 404s looks like this http://localhost:3000/base/_next/data/xpCmLw_g1hPw_3b847mWF.json. I believe there's a / missing before .json.
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Using the experimental
basePath
and linking from any page back to the index page withLink
results in a full page reload if the index page usesgetServerSideProps
. Looking at the network tab in Chrome I see a request tohttp://localhost:3000/base/_next/data/development.json
that 404s. In the production build, the request that 404s looks like thishttp://localhost:3000/base/_next/data/xpCmLw_g1hPw_3b847mWF.json
. I believe there's a/
missing before.json
.To Reproduce
yarn dev
.json
Expected behavior
Index page should not fully reload.
System information
Additional context
I believe this was introduced in
9.4.5-canary.8
and I suspect #13876 is the culprit.9.4.5-canary.7
does not have this error.The text was updated successfully, but these errors were encountered: