TanStack Start blocking custom local subdomain
Hi everyone! 👋
I'm having an issue with TanStack Start when trying to use a custom local subdomain for development.
What I'm trying to do:
Set up cross-domain cookies between localhost (dev) and .smart-garant.fr
Created a local subdomain dev.smart-garant.fr by adding 127.0.0.1 dev.smart-garant.fr to /etc/hosts on Mac
Want to run my TanStack Start dev server on http://dev.smart-garant.fr:3000
The error I'm getting:
Blocked request. This host ("dev.smart-garant.fr") is not allowed.
To allow this host, add "dev.smart-garant.fr" to
server.allowedHosts
in vite.config.js.
Adding server.allowedHosts in app.config.ts under the vite section (doesn't seem to work with TanStack Start)0 Replies