Skip to content

Commit

Permalink
Use csp config from tauri-apps/tauri#3427 to fix assets issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Aug 6, 2023
1 parent 3778509 commit 27bedf4
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 @@ -59,7 +59,7 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; object-src 'none'; require-trusted-types-for 'script';"
}
}
}

0 comments on commit 27bedf4

Please sign in to comment.