Repository navigation
Commit c15c8ac
committed
fix: 补齐迁移遗漏的客户端资产与 nginx ASR 路由代理
完整性审查发现并修复三项:
1) client/public 全量 54 文件(42 音效 wav + 6 音轨 mp3 + PWA 图标 + 离线页)
与 client/src/styles 4 文件此前完全未迁移。其中 tokens.css 被 index.css
@import、performance.css 被 main.tsx import,均为构建期硬依赖——此前仅跑
tsc --noEmit 无法暴露,本次首次执行完整 vite build 才发现。
2) nginx 缺 /api/v1/asr location:客户端 3 处调用 /api/v1/asr/transcribe,
gateway routers/transcribe.py 有该前缀,但请求会落入 location / 静态站点
返回 404,导致生产环境语音转写完全不可用(源项目同缺,属存量缺陷)。
3) scripts 三个原样复制脚本补齐 @ai-context 中英双语注释(§3)。
验证:client 完整构建通过(PWA precache 343 条)、双 tsc 0 错、node --check 全过。1 parent baae5e7 commit c15c8ac
65 files changed
Lines changed: 1018 additions & 308 deletions
File tree
- client
- public
- audio
- sounds
- src/styles
- scripts
- server/nginx
- certs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments