From b4301ed0d5e936372333cf78f9cf02d4609d89aa Mon Sep 17 00:00:00 2001 From: GyDi Date: Tue, 31 Oct 2023 12:00:57 +0800 Subject: [PATCH] fix: csp --- 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 7f8fff3..71c7200 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -75,7 +75,7 @@ }, "windows": [], "security": { - "csp": "connect-src 'self' ws:; script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src data: 'self';" + "csp": "script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src data: 'self';" } } }