0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 10:42:32 +01:00

Fix CSP header for docs (#4428)

This commit is contained in:
Thomas Boerger 2018-07-12 00:27:48 +02:00 committed by GitHub
parent 3e950ef112
commit 8b21cdba78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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