Pins the connect-src CSP entries for http://127.0.0.1:* and ws://127.0.0.1:* at build time. If a future edit to tauri.conf.json strips the local-LLM permit, the kon crate fails to build rather than shipping a binary whose webview fetch() silently 404s with an opaque scope error (Vibe #438 / #487). Closes item #2 of docs/whisper-ecosystem/brief.md — CSP widening itself landed in an earlier commit; this is the regression-proofing the plan calls for.
1.9 KiB
1.9 KiB