Skip to content

Commit 7d64a9b

Browse files
authored
Merge pull request #130 from armatronic/task-master/SA-16123
Add CSP meta tag [SA-16123]
2 parents 289077a + b36ba23 commit 7d64a9b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
99
<link href="/styles.css" rel="stylesheet">
1010
<link rel="icon" type="image/png" href="./favicon.png">
11+
<meta
12+
http-equiv="Content-Security-Policy"
13+
content="
14+
default-src 'self';
15+
img-src 'self' data:;
16+
script-src 'self' unpkg.com;
17+
style-src 'self' 'unsafe-inline';
18+
font-src 'self' fonts.googleapis.com fonts.gstatic.com
19+
"
20+
>
1121
<script type="module" src="https://unpkg.com/rapidoc@9.3.4/dist/rapidoc-min.js"></script>
1222
<script type="text/javascript" src="/scripts.js"></script>
1323
</head>

0 commit comments

Comments
 (0)