Skip to content

Commit

Permalink
Add blob: to CSP's connect-src
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Jan 4, 2025
1 parent 12fd8a9 commit c17782a
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 @@ -22,7 +22,7 @@
},
"csp": {
"default-src": "'self' asset: http://asset.localhost",
"connect-src": "'self', asset: http://asset.localhost, ipc: http://ipc.localhost https://api.github.com",
"connect-src": "'self', asset: http://asset.localhost blob: ipc: http://ipc.localhost https://api.github.com",
"img-src": "'self' asset: http://asset.localhost data:",
"media-src": "'self' asset: http://asset.localhost blob: data:",
"child-src": "'self'; object-src 'self'",
Expand Down

0 comments on commit c17782a

Please sign in to comment.