Skip to content

Commit 4f4ad3c

Browse files
committed
chore(docs.angularjs.org): add csp headers for csp example
Fixes angular#16270
1 parent a37f89f commit 4f4ad3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/docs.angularjs.org-firebase/firebase.json

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
}
1616
],
1717
"headers": [
18+
{
19+
"source": "/examples/**.csp/*.html",
20+
"headers": [{
21+
"key": "Content-Security-Policy",
22+
"value": "default-src 'self'"
23+
}]
24+
},
1825
{
1926
"source": "/Error404.html",
2027
"headers" : [{

0 commit comments

Comments
 (0)