PersonalWebApplication/Client/src
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
..
api feat(client): 隐藏登录入口改为后端校验 URL hash 2026-06-20 20:45:30 +08:00
assets feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00
components feat(client): 隐藏登录入口改为后端校验 URL hash 2026-06-20 20:45:30 +08:00
hooks feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00
App.tsx feat(client): 隐藏登录入口改为后端校验 URL hash 2026-06-20 20:45:30 +08:00
index.css feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00
main.tsx Initial commit: React client + Rust server full-stack project 2026-06-17 20:49:17 +08:00