feat: 优化开发服务器配置
- 关闭预览自动弹出页面 - 关闭热更新 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ export default defineConfig(() => {
|
||||
host: '0.0.0.0',
|
||||
allowedHosts: true as true,
|
||||
cors: true,
|
||||
open: true,
|
||||
hmr: false,
|
||||
port: 5173
|
||||
},
|
||||
// 生产预览服务器配置 (vite preview) - 仅用于本地测试
|
||||
|
||||
Reference in New Issue
Block a user