- 控制端新增页面刷新后自动恢复登录会话,并展示恢复中状态 - 支持被控端配对码绑定、设备在线状态标记及离线设备禁用连接 - 优化登录流程,支持双因子验证码输入 - 修复 API 客户端令牌刷新逻辑,增加认证失败统一回调 - 信令地址支持环境变量推导,ICE 服务器支持自定义配置 - 管理后台强制开发态走 Vite 代理,避免跨域和 IP 不可达问题 - 修复 tsconfig.node.json 产物干扰 vite 配置加载的构建问题 - 添加 .env.example 作为环境变量配置模板
19 lines
743 B
JSON
19 lines
743 B
JSON
{
|
||
"compilerOptions": {
|
||
"composite": true,
|
||
"skipLibCheck": true,
|
||
"module": "ESNext",
|
||
"moduleResolution": "bundler",
|
||
"allowSyntheticDefaultImports": true,
|
||
"strict": true,
|
||
// composite 隐含 declaration,会把 vite.config.ts 编译出 vite.config.js / .d.ts。
|
||
// 而 Vite 加载配置时 .js 优先级高于 .ts,那份陈旧产物会顶掉真正的 vite.config.ts
|
||
// (曾导致 server.proxy 失效、接口请求 404 / Failed to fetch)。
|
||
// 这里只做类型检查,不产出任何文件;tsBuildInfo 也移出源码目录。
|
||
"noEmit": true,
|
||
"emitDeclarationOnly": false,
|
||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
|
||
},
|
||
"include": ["vite.config.ts"]
|
||
}
|