Skip to content

Commit

Permalink
fix csp in boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Mar 11, 2024
1 parent 69de201 commit ec33e30
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/templates/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
<meta
http-equiv="Content-Security-Policy"
content="
connect-src https: file: ipc: socket: ws://localhost:*;
script-src https: socket: http://localhost:* 'unsafe-eval';
worker-src blob: socket: 'unsafe-eval' 'unsafe-inline';
img-src https: data: file: http://localhost:*;
child-src 'none';
object-src 'none';
connect-src socket: https: http: blob: ipc: wss: ws: ws://localhost:*;
script-src socket: https: http: blob: http://localhost:* 'unsafe-eval' 'unsafe-inline';
worker-src socket: https: http: blob: 'unsafe-eval' 'unsafe-inline';
frame-src socket: https: http: blob: http://localhost:*;
img-src socket: https: http: blob: http://localhost:*;
child-src socket: https: http: blob:;
object-src 'none';
"
>
</head>
Expand Down

0 comments on commit ec33e30

Please sign in to comment.