chore: update dev script to allow Vite to bind to all network interfaces

This commit is contained in:
严浩
2025-02-11 18:36:10 +08:00
parent 6a3560a7f8
commit d3548f1105
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ export default defineConfig(({ mode, command }) => {
},
server: {
proxy: createViteProxy(),
allowedHosts: ['.nwct.dev'],
},
build: {
minify: 'terser',