Skip to content

Commit 5e9979c

Browse files
author
iramos
committed
feat(CSP): added CSP header
1 parent 05195e0 commit 5e9979c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5+
<meta http-equiv="Content-Security-Policy"
6+
content="default-src 'self' ws://localhost:4200;script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';font-src 'self';img-src 'self' data:;connect-src 'self' ws://localhost:4200">
57
<title>Angular Tour of Heroes</title>
68
<base href="/">
79

0 commit comments

Comments
 (0)