Skip to content

Commit

Permalink
Merge pull request #25 from daltonmenezes/fix/default-restrictive-htt…
Browse files Browse the repository at this point in the history
…p-requests

fix: default restrictive http requests - closes #24
  • Loading branch information
daltonmenezes authored Oct 15, 2023
2 parents 3614bb9 + c689630 commit 02a454f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
<head>
<meta charset="UTF-8" />

<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'" />
<!--
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
If you want restrict the sources from where you can load resources:
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'" />
-->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' *; script-src 'self' *; style-src 'self' 'unsafe-inline' *;" />
</head>

<body>
Expand Down

0 comments on commit 02a454f

Please sign in to comment.