Browse Source

security: add csp

main
Shelley Vohr 6 years ago
parent
commit
0ed07b8a7b
  1. 3
      index.html

3
index.html

@ -2,6 +2,9 @@
<html>
<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'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>

Loading…
Cancel
Save