introduce VITE_HOST env var and pass it to the node watcher vite --host
This commit is contained in:
@@ -15,7 +15,9 @@ config :mobilizon, Mobilizon.Web.Endpoint,
|
||||
check_origin: false,
|
||||
watchers: [
|
||||
node: [
|
||||
"node_modules/.bin/vite"
|
||||
"node_modules/.bin/vite",
|
||||
"--host",
|
||||
System.get_env("VITE_HOST", "localhost")
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user