Skip to content

Commit

Permalink
fix(csp): tighten Content Security Policy by removing 'unsafe-eval' f…
Browse files Browse the repository at this point in the history
…rom script-src
  • Loading branch information
Red-Asuka authored and ysfscream committed Dec 2, 2024
1 parent f515491 commit 08d6221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data:"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
/>
</head>

Expand Down

0 comments on commit 08d6221

Please sign in to comment.