Browse Source

CORS: Allow inline CSS and style attributes

main
Kilian Valkhof 4 years ago
committed by GitHub
parent
commit
5349a338f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      index.html

2
index.html

@ -3,7 +3,7 @@
<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="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>

Loading…
Cancel
Save