From 55d499e1180932eb9ec3f6ce0a6f9f16beb49da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 9 Mar 2023 14:53:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(tauri):=E8=B0=83=E6=95=B4csp=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/tauri.conf.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9335816..7c7881d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -55,7 +55,8 @@ "targets": "all" }, "security": { - "csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost" + "devCsp": "default-src 'self'; img-src 'self' asset: https://asset.localhost", + "csp": null }, "updater": { "active": false