Browse Source

chore: vite server options adjustment

pull/713/head
无木 5 years ago
parent
commit
4805ca2626
  1. 2
      vite.config.ts

2
vite.config.ts

@ -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),

Loading…
Cancel
Save