Skip to content

Commit b4bbd5a

Browse files
committed
build(tauri): 👷 better tauri security
1 parent 162c5c6 commit b4bbd5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src-tauri/tauri.conf.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
}
1919
],
2020
"security": {
21-
"csp": null
22-
}
21+
"csp": "default-src 'self' 'unsafe-eval'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; font-src 'self' data:" }
2322
},
2423
"bundle": {
2524
"active": true,

0 commit comments

Comments
 (0)