fix(app): use the same CSP during tauri dev as tauri build (#3894)

* fix(app): use the same CSP during `tauri dev` as `tauri build`

* chore(app-frontend): make Vite WS CSP policy a bit more strict

* tweak: make Tauri CSP config object readable again

At the cost of some extra code in the Vite config side, but I think it's
worth it.

* chore: fix linter warning in app frontend introduced who knows where else

We need a Git hook to ensure these things aren't pushed only to explode
later on or something.
This commit is contained in:
Alejandro González
2025-07-03 23:50:34 +02:00
committed by GitHub
parent bff26af465
commit 512d456c66
3 changed files with 21 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"resolveJsonModule": true,
"strict": true
},