This commit is contained in:
Sami Samhuri 2018-12-03 11:37:59 -08:00
parent 98895f9d67
commit a105b1b7e8
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "DENY"
# Content Security Policy generated by Mozilla's CSP Toolkit
Header set Content-Security-Policy "default-src 'none'; img-src 'self' https://p.typekit.net; script-src 'self' 'unsafe-inline' https://ajax.googleapis.com https://api.github.com https://gist.github.com https://use.typekit.net; style-src 'unsafe-inline' https://assets-cdn.github.com https://netdna.bootstrapcdn.com; base-uri 'none'; frame-ancestors 'none'; form-action 'none'"
Header set Content-Security-Policy "default-src 'none'; img-src 'self' data: https://p.typekit.net; font-src 'self' https://use.typekit.net https://netdna.bootstrapcdn.com; script-src 'self' 'unsafe-inline' https://ajax.googleapis.com https://api.github.com https://gist.github.com https://use.typekit.net; style-src 'unsafe-inline' https://assets-cdn.github.com https://netdna.bootstrapcdn.com; base-uri 'none'; frame-ancestors 'none'; form-action 'none'"
# https://infosec.mozilla.org/guidelines/web_security#referrer-policy
Header set Referrer-Policy "no-referrer, strict-origin-when-cross-origin"

View file

@ -53,7 +53,7 @@
<link rel="dns-prefetch" href="https://gist.github.com">
<link rel="dns-prefetch" href="https://use.typekit.net">
<script src="https://use.typekit.net/tcm1whv.js" integrity="Cajpx1SH5pZw/OSd5LTP9EBy6XLNv0Ti69o0b2bzYF6Zb8/P/Qy3BSbZpYZiUg0Q" crossorigin="anonymous"></script>
<script src="https://use.typekit.net/tcm1whv.js" integrity="sha384-Cajpx1SH5pZw/OSd5LTP9EBy6XLNv0Ti69o0b2bzYF6Zb8/P/Qy3BSbZpYZiUg0Q" crossorigin="anonymous"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<script>