fix: tauri csp

This commit is contained in:
GyDi 2022-03-23 01:47:35 +08:00
parent b09b7b11a1
commit 57c411288f
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

View File

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