Commit 4805ca26260fc018971736bf78bce3c5aaab8d91
1 parent
43769286
chore: vite server options adjustment
Showing
1 changed file
with
2 additions
and
0 deletions
vite.config.ts
@@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | @@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | ||
57 | ], | 57 | ], |
58 | }, | 58 | }, |
59 | server: { | 59 | server: { |
60 | + // Listening on all local IPs | ||
61 | + host: true, | ||
60 | port: VITE_PORT, | 62 | port: VITE_PORT, |
61 | // Load proxy configuration from .env | 63 | // Load proxy configuration from .env |
62 | proxy: createProxy(VITE_PROXY), | 64 | proxy: createProxy(VITE_PROXY), |