refactor: 删除旧前端单体,React 产物成为唯一首页来源

为什么:React 迁移已验证完毕(浏览器冒烟全过、golden 刷新),
legacy 模板兜底分支指向已删除的文件只会制造幻觉路径。删除
templates/index.html(466KB)与 static/site_auth.js(80KB)及
/static 挂载;jinja2 随兜底分支失去唯一使用者,连同 markupsafe
一并移出依赖(63 包 -2)。_render_index 简化为直接读构建产物——
dist 已入库恒存在,无需分支。
This commit is contained in:
snowy-yang committed 2026-09-27 18:41:30 +08:00
1 parent 17b4a99680
commit 064a89d726
6 files changed
+6 -9236

No files matched your search

-1
View File
@@ -14,7 +14,6 @@ dependencies = [
"cryptography>=50.0,<51.0",
"qrcode>=7.0,<8.3",
"python-multipart>=0.0.9",
"jinja2>=3.1,<4.0",
"filetype>=1.2.0",
"aria2p>=0.12.1",
"mutagen>=1.48.1",