feat: 添加登录页面,支持外网访问 Web UI

- 新增 /web/login 登录页面
- 修改路由使用 optional JWT 认证
- 前端自动检测 token 并跳转登录
- 更新 .gitignore 排除 venv
This commit is contained in:
2026-03-15 07:28:20 +08:00
parent bb249f0317
commit 03a68c982e
714 changed files with 252771 additions and 34 deletions

3
.gitignore vendored
View File

@@ -5,3 +5,6 @@
*.db
*.sqlite
.env
venv/
*.pyc
__pycache__/