TanStackT
TanStack3mo ago
4 replies
dry-scarlet

Index route without trailing `/` ?

So, I've gone through many pages in the docs and all ai models i have access to and concluded that there is no way to have my website work from a clean url without a trailing
/
like myapp.com/dashboard where dashboard is my router's basepath

the only way this will work is if I add the trailing
/
like myapp.com/dashboard/ otherwise it will be the not found component

is there really no way to make this work without the trailing
/
?

PS: i love this router ❤️
Was this page helpful?