Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Fix CSP connect-src to allow all local assets
Rūdolfs Ošiņš committed 15 days ago
commit 82807ecee7cd39350c071e783dd8af2884b8c278
parent c74b8e0
1 file changed +1 -1
modified crates/radicle-tauri/tauri.conf.json
@@ -22,7 +22,7 @@
    "security": {
      "csp": {
        "default-src": "'self'",
-
        "connect-src": "ipc: http://ipc.localhost https://files.radicle.xyz tauri://localhost/assets/onig-CwjCXqnP.wasm",
+
        "connect-src": "'self' ipc: http://ipc.localhost https://files.radicle.xyz",
        "img-src": "'self' blob: data: https:",
        "script-src": "'wasm-unsafe-eval'",
        "style-src": "'unsafe-inline' 'self'"