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 issue I'm experiencing is with /app. If I soft-navigate from /signin there is no trailing slash, but if I hit refresh in the browser the URL turns into /app/. I'm guessing it's because of the index.tsx inside of the app folder, but I have set the trailingSlashes option to 'never' in the createRouter function. Is this expected?
Which project does this relate to?
Router
Describe the bug
I have a route config that looks like this:
And the generated route tree looks like this:
The issue I'm experiencing is with
/app
. If I soft-navigate from/signin
there is no trailing slash, but if I hit refresh in the browser the URL turns into/app/
. I'm guessing it's because of theindex.tsx
inside of theapp
folder, but I have set thetrailingSlashes
option to'never'
in thecreateRouter
function. Is this expected?GitHub repo: https://github.com/nikolovlazar/trivius/tree/48939a1989a36ff2728ce2f4f45f6c64c5efd43a
Your Example Website or App
https://stackblitz.com/edit/github-vajjdgwa?file=app%2Froutes%2Fapp%2Findex.tsx
Steps to Reproduce the Bug or Issue
/
page that takes you to/app
/app
- no trailing slash/app/
with a trailing slashExpected behavior
Hard-navigating to the
/app
page should not add a trailing slash at the end.Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: