Skip to content

Commit

Permalink
add connect-src self; to CSP for #129
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Aug 14, 2022
1 parent 2455ad3 commit 8f7bb8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/app_web/templates/layout/icons.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<meta http-equiv="Content-Security-Policy"
content="
default-src 'self' dwyl.com https://*.cloudflare.com;
connect-src 'self';
form-action 'self';
img-src *; child-src 'none';
script-src 'self' https://cdnjs.cloudflare.com 'unsafe-eval' 'unsafe-inline';
style-src 'self' css.example.com;
form-action 'self';
">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="dwyl is a worldwide community of people using technology to solve real problems.">
Expand Down

0 comments on commit 8f7bb8e

Please sign in to comment.