瀏覽代碼

fix: csp missing asset:

dongchengjie 1 年之前
父節點
當前提交
6bc5c5a808
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src-tauri/tauri.conf.json

+ 1 - 1
src-tauri/tauri.conf.json

@@ -75,7 +75,7 @@
     },
     "windows": [],
     "security": {
-      "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self';"
+      "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: 'unsafe-eval' 'unsafe-inline' 'self';"
     }
   }
 }