소스 검색

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';"
     }
   }
 }