feat: 添加服务器配置,允许从所有主机访问

This commit is contained in:
carry
2026-06-07 21:57:11 +08:00
parent a4b06c7284
commit bab102538d
+3
View File
@@ -3,4 +3,7 @@ import react from '@vitejs/plugin-react'
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
server: {
host: '0.0.0.0',
},
}) })