Skip to content

Commit be69e9e

Browse files
committed
fix: enable Content Security Policy
1 parent bc9d7c0 commit be69e9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
],
5454
"security": {
55-
"csp": null,
55+
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; connect-src 'self' ipc:",
5656
"capabilities": ["default"],
5757
"assetProtocol": {
5858
"scope": ["$TEMP/**", "/var/folders/**", "/tmp/**"]

0 commit comments

Comments
 (0)