Files
Genarrative/deploy
suzmii 5795a07a7d fix(部署): nginx SPA allowlist 补 /games/lineage(三份模板同批)
- `deploy/nginx/genarrative.conf:237`:allowlist 交替项插入 `games/lineage`(放在 `games/detail` 与 `games/mine` 之间,保持既有字典序)
- `deploy/nginx/genarrative-dev-http.conf:209`:同上
- `deploy/container/nginx.conf:160`:同上(8 空格缩进,`~*` + `/?$` 形态不变)
- 原因:M3 新增网页端 SPA 路由 `/games/lineage`(`src/routing/activeAppPageRoutes.ts:18`)后没同步三份 nginx 模板,`npm run check:nginx-spa-routes` 以 9 条断言失败(每份模板 3 条:缺少路由 / 未匹配完整路径 / 未允许大小写差异与尾部斜杠);CI run 3387 的 `Repository checks`(3m36s)即因此红,属本分支引入(master 尖端 `6c9566058` 8/8 绿)
- 只补路由项,未改门禁脚本、未放宽任何断言、未动 `apps/**`、`server-rs/**`、`src/**`
- 验证:`npm run check:nginx-spa-routes` → OK(15 SPA routes / 1 prefix routes / 3 Nginx templates)
2026-10-05 17:30:47 +08:00
..