aboutsummaryrefslogtreecommitdiffstats
path: root/docs/static
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2018-07-12 13:48:33 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2018-07-12 19:48:33 +0800
commite6b51200abc879f0768c59e85afac7d89c3dbfa6 (patch)
tree02f422445bbbb01b201ce864fdfa51bff8b55800 /docs/static
parenta7f90905df12b649dd48d9b6b05e419ff47b2a7c (diff)
downloadgitea-e6b51200abc879f0768c59e85afac7d89c3dbfa6.tar.gz
gitea-e6b51200abc879f0768c59e85afac7d89c3dbfa6.zip
Final CSP header fix (#4432)
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 b671116957..a5de17226e 100644
--- a/docs/static/_headers
+++ b/docs/static/_headers
@@ -1,5 +1,5 @@
/*
- 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 https://cdnjs.cloudflare.com https://fonts.gstatic.com
+ 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' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff