chore: vite server options adjustment

This commit is contained in:
无木
2021-06-05 20:14:55 +08:00
parent 437692869a
commit 4805ca2626

View File

@@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
],
},
server: {
// Listening on all local IPs
host: true,
port: VITE_PORT,
// Load proxy configuration from .env
proxy: createProxy(VITE_PROXY),