You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this is due to Vinxi. I added back the dev server options because some of them work. Others may not. Will need to double check with @nksaraf to get clarity on this.
Yeah I feel like the host and port shouldnt be server config since you probably only mean the dev server. So I think the dev command is the place those things should be overriden. You can use '--host' and '--port' options (can make it part of your npm dev script) or HOST and PORT environment variables
Duplicates
Latest version
Current behavior 馃槸
example
app.config.ts
:but this isnt working, its still running on port:3000
Expected behavior 馃
Run server on specified
PORT
andHOST
Steps to reproduce 馃暪
Steps:
1.Edit vite server options on
app.config.ts
2.Run server
3.
4.
Context 馃敠
A fix:
https://nitro.unjs.io/deploy/runtimes/node#environment-variables
in
.env
I think this is because Im not using vite-solid-plugin?
Hope this helps someone at least.
Your environment 馃寧
No response
The text was updated successfully, but these errors were encountered: