How to change localhost to custom host in dev
In Vite, I can change the local dev server hostname with server.host: https://vite.dev/config/server-options.html#server-host
And then allow my custom hosts via
server.allowedHosts
How can I do this in Start?3 Replies
extended-salmon•5mo ago
I had a similar issue, and solved it following this guy's code:
https://discord.com/channels/719702312431386674/1337811059180048477/1338809045578153984
metropolitan-bronzeOP•5mo ago
Ok so I got that working, but it sure would be swell if I could also get the dev server output to have the right host:

metropolitan-bronzeOP•5mo ago
But yeah, adding that to the vite config did the trick:
In addition to adding it to the dev script:
Ok now new challenge: I'm struggling to get https working locally.
In my normal vite app:
this works fine. In my TSS app, not so much:
Anyone set this up locally in TSS before?