Explorar o código

fix(tauri.js) default CSP with the blob modifier (#255)

Lucas Fernandes Nogueira %!s(int64=5) %!d(string=hai) anos
pai
achega
8a8fe2cca4
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      cli/tauri.js/src/template/defaultConfig.ts

+ 1 - 2
cli/tauri.js/src/template/defaultConfig.ts

@@ -18,8 +18,7 @@ export default {
       title: 'Tauri App'
     },
     security: {
-      csp:
-        "default-src data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
+      csp: "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
     },
     edge: {
       active: true