Commit 4805ca26 authored by 无木's avatar 无木

chore: vite server options adjustment

parent 43769286
...@@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { ...@@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
], ],
}, },
server: { server: {
// Listening on all local IPs
host: true,
port: VITE_PORT, port: VITE_PORT,
// Load proxy configuration from .env // Load proxy configuration from .env
proxy: createProxy(VITE_PROXY), proxy: createProxy(VITE_PROXY),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment