Single Fetch: redirects do not strip basename #9586
Labels
awaiting release
This issue has been fixed and will be released soon
bug:unverified
feat:routing
feat:single-fetch
Reproduction
/demoBasename
to end of the the preview URL to load the root routedemoBasename
twiceSystem Info
Used Package Manager
yarn
Expected Behavior
The page should load the route at
/demoBasename/demo
and show "It works!"Actual Behavior
The page tries to load
/demoBasename/demoBasename/demo
and shows a 404 error.Possibly related code
Perhaps this line could use a stripBasename? Or use
X-Remix-Redirect
header?remix/packages/remix-server-runtime/single-fetch.ts
Line 438 in c3efad3
The text was updated successfully, but these errors were encountered: