Skip to content

Commit

Permalink
fix(index html): add csp sha
Browse files Browse the repository at this point in the history
Add styles sha to csp to avoid it getting blocked by browser
  • Loading branch information
luqven committed Feb 24, 2021
1 parent d0352f4 commit b9360fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
<meta name="designer" content="imgix">
<meta name="developer" content="imgix">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,maximum-scale=1">
<!-- If CSP style policies, ensure SHA, nonce, or unsafe-inline are enabled -->
<meta http-equiv="Accept-CH" content="DPR, Width, Viewport-Width">
<meta
http-equiv="Content-Security-Policy"
content="style-src 'self' 'sha256-W+PadZMOYbQi3EzR/NC+KcPx3bNLCz0OtfWwp+LK9b4=' 'sha256-OdI56ZW769BKGaLghLr3uZVaaWfqyRwyccMiu8gXf0w=' 'sha256-W+PadZMOYbQi3EzR/NC+KcPx3bNLCz0OtfWwp+LK9b4=' 'sha256-cG/+JJX3ZZs6snnMipxMnaYWATXBcyQw3vFWJF1zmAM='"
/>

<title>Drift Playground</title>
<link rel="stylesheet" media="screen, projection" href="./dist/drift-basic.css">
Expand Down

0 comments on commit b9360fc

Please sign in to comment.