Skip to content

Commit

Permalink
fix: remove X-Content-Security-Policy header (#492)
Browse files Browse the repository at this point in the history
Per https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP :

> (Sometimes you may see mentions of the `X-Content-Security-Policy` header, but that's an older version and you don't need to specify it anymore.)
  • Loading branch information
malept committed Jun 11, 2021
1 parent 45812c1 commit 1ad1848
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<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'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>
Expand Down

0 comments on commit 1ad1848

Please sign in to comment.