Browse Source

fix: csp missing asset:

dongchengjie 1 year ago
parent
commit
6bc5c5a808
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src-tauri/tauri.conf.json

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

@@ -75,7 +75,7 @@
     },
     },
     "windows": [],
     "windows": [],
     "security": {
     "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';"
     }
     }
   }
   }
 }
 }