summaryrefslogtreecommitdiffstats
path: root/docs/static
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2018-07-12 00:27:48 +0200
committerGitHub <noreply@github.com>2018-07-12 00:27:48 +0200
commit8b21cdba78421547759780563342f379817dde57 (patch)
tree91a24b4524bea4bbe24f94ab90e80ea4d633d1f7 /docs/static
parent3e950ef112ec03eb07393d673f7cda0632fa459f (diff)
downloadgitea-8b21cdba78421547759780563342f379817dde57.tar.gz
gitea-8b21cdba78421547759780563342f379817dde57.zip
Fix CSP header for docs (#4428)
Diffstat (limited to 'docs/static')
-rw-r--r--docs/static/_headers2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/static/_headers b/docs/static/_headers
index b3c268ea10..8a7e391dbf 100644
--- a/docs/static/_headers
+++ b/docs/static/_headers
@@ -1,5 +1,5 @@
/*
- Content-Security-Policy: default-src 'self'
+ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' https://fonts.googleapis.com
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff