fix: try fix csp

This commit is contained in:
GyDi 2023-10-11 14:21:56 +08:00
parent 3e5624c570
commit ad8903991c
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

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