PersonalWebApplication/Client/src/api
cc b2a0b563c9 feat(client): 隐藏登录入口改为后端校验 URL hash
去掉起始页右下角设置齿轮(SettingsGear),登录页不再有任何 UI 入口;
改为监听地址栏 `#<hash>`,经 checkGate() 交后端 /api/web/gate 校验,
命中合法开发者才放行到登录页。合法 hash 只存在后端、前端不写死。

- 新增 api/gate.ts;App.tsx 用 hashchange 监听 + 防竞态校验
- 返回起始页时抹掉地址栏 hash,避免密钥留在历史里
- Server/.gitignore 忽略 dev_gate.txt(秘密,单独部署)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 20:45:30 +08:00
..
auth.ts 重构登录后博客页:Lunada 渐变背景 + 两侧图片液态玻璃;登录报错改英文 2026-06-18 10:57:00 +08:00
gate.ts feat(client): 隐藏登录入口改为后端校验 URL hash 2026-06-20 20:45:30 +08:00
weather.ts feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00