chore: 修改开发时客户端访问主机限制

This commit is contained in:
xiaozzzi 2024-01-07 20:04:22 +08:00
parent 3a4e77ecaf
commit 19bedbef7a

View File

@ -17,6 +17,11 @@ export default defineConfig({
}, },
renderer: { renderer: {
envDir: resolve('src/env'), envDir: resolve('src/env'),
server: {
host: '0.0.0.0',
port: 5173,
hmr: true
},
plugins: [ plugins: [
vue(), vue(),
visualizer({ visualizer({