Skip to content

Commit c711611

Browse files
committed
Defined CSP To Prevent Malicious Connections
Attempt To Fix #46
1 parent e6f36a3 commit c711611

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src-tauri/tauri.conf.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"version": "../package.json"
1212
},
1313
"tauri": {
14+
"security": {
15+
"csp": "default-src 'self' blob: https://asset.localhost/ http://127.0.0.1:16780/ https://en.wiktionary.org https://fonts.gstatic.com/ https://fonts.googleapis.com/; style-src 'self' 'unsafe-inline' blob: https://asset.localhost/ https://fonts.googleapis.com/"
16+
},
1417
"cli": {
1518
"args": [{
1619
"name": "source",

0 commit comments

Comments
 (0)