重构 server/app.tsx - 仅保留应用初始化和服务启动逻辑

This commit is contained in:
yourname
2025-05-14 02:04:48 +00:00
parent 6438eea9be
commit f4d692472e
16 changed files with 185 additions and 266 deletions

View File

@@ -2,6 +2,12 @@
待实现
迁移管理页面在正式环境中需要验证env中配置的密码参数才能打开
2025.05.14 0.1.1
创建 server/middlewares.ts - 集中管理所有中间件配置
创建 server/router.ts - 统一处理路由注册逻辑
重构 server/app.tsx - 仅保留应用初始化和服务启动逻辑
保持原有功能不变,同时提高代码可维护性和扩展性
2025.05.13 0.1.0
将admin api.ts 拆开
打开迁移管理页面时,将迁移历史读取出来