From c17782a1656eb1d272cdd3dede071eaa694ca3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20de=20la=20Martini=C3=A8re?= Date: Sat, 4 Jan 2025 22:36:44 +0100 Subject: [PATCH] Add blob: to CSP's connect-src --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d54d9a09..89b8e07f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -22,7 +22,7 @@ }, "csp": { "default-src": "'self' asset: http://asset.localhost", - "connect-src": "'self', asset: http://asset.localhost, ipc: http://ipc.localhost https://api.github.com", + "connect-src": "'self', asset: http://asset.localhost blob: ipc: http://ipc.localhost https://api.github.com", "img-src": "'self' asset: http://asset.localhost data:", "media-src": "'self' asset: http://asset.localhost blob: data:", "child-src": "'self'; object-src 'self'",