Skip to content

Commit

Permalink
Add style-src CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
tranxuanthang committed Oct 3, 2023
1 parent 9757668 commit 0193ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}
},
"security": {
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost; media-src 'self' asset: https://asset.localhost; connect-src 'self' asset: *"
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost; media-src 'self' asset: https://asset.localhost; connect-src 'self' asset: *; style-src 'unsafe-inline' 'self'"
},
"updater": {
"active": false
Expand Down

0 comments on commit 0193ace

Please sign in to comment.