/@handle route not giving a 404 on Netlify
@Manuel Schiller @Netlify (Partner)
What I would like
I want the following route pattern
/@username
What I have done
Stack: Tanstack Start
vite.config.ts
Folder/file structure
netlify.toml file
What is the problem
/@handle this is not working on Netlify however works in local development
I am getting a 404 error on netlify5 Replies
sensitive-blue•2w ago
can you share a full project that our netlify colleagues can use for debugging?
secure-lavenderOP•2w ago
Hey @Manuel Schiller this was resolved by Netlify support. I had posted a question on their support channel as well.
The fix was this
add the following to netlify.toml file
sensitive-blue•2w ago
interesting. why is this necessary?
exotic-emerald•2w ago
🤔 That
netlify.toml file shouldn't work unless something else is misconfigured in your project and the errors are sort of... cancelling each other out!
can you share more details of your directory structure? not src but basically everything elsesecure-lavenderOP•2w ago
Sure
