mirror of https://github.com/go-gitea/gitea.git
Fix CSP header for docs (#4428)
This commit is contained in:
parent
3e950ef112
commit
8b21cdba78
|
@ -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-Frame-Options: DENY
|
||||||
X-Xss-Protection: 1; mode=block
|
X-Xss-Protection: 1; mode=block
|
||||||
X-Content-Type-Options: nosniff
|
X-Content-Type-Options: nosniff
|
||||||
|
|
Loading…
Reference in New Issue