修复:将叫号音频内联到前端包 #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/bundled-audio-announcements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题:音频使用 /audio 路径,浏览器预加载仍会向服务端发起独立请求。
实现:将 15 个 WAV 作为 Vite 内联资源编入前端 JS,后端继续仅返回叫号数据/文本。
验证:前端 66 项测试与生产构建通过;dist 中 WAV 文件为 0,含 15 个内联音频数据。