mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-19 18:47:41 +08:00
后端: - 支持通过 DASHBOARD_ENABLE 环境变量分离 WebUI 服务 - 修复 CORS 跨域预检请求(OPTIONS) 鉴权问题 - 优化 IPv6 地址过滤逻辑 - CLI 新增 --backend-only 模式支持 前端: - 新增 API 地址动态配置与预设管理功能 (登录页/设置页) - 修复 WebSocket/SSE 连接地址适配非同源环境 - 修复 TypeScript 配置报错 - 完善新增功能的国际化支持
35 lines
672 B
JSON
35 lines
672 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["ESNext", "DOM"],
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"allowJs": true,
|
|
"ignoreDeprecations": "5.0"
|
|
},
|
|
"include": [
|
|
"env.d.ts",
|
|
"src/**/*",
|
|
"src/**/*.vue",
|
|
"src/types/.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.vite-config.json"
|
|
}
|
|
]
|
|
}
|