T
TanStack5mo ago
frozen-sapphire

Issue with how to expose localhost to the web?

I am using lt --port 3000.
Blocked request. This host ("pretty-pillows-tease.loca.lt") is not allowed.
To allow this host, add "pretty-pillows-tease.loca.lt" to `server.allowedHosts` in vite.config.js.
Blocked request. This host ("pretty-pillows-tease.loca.lt") is not allowed.
To allow this host, add "pretty-pillows-tease.loca.lt" to `server.allowedHosts` in vite.config.js.
I followed the error message to create vite.config.js with allowhost... which doesn nothing. also tried with ngrok, which doesn’t work
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?