Merge pull request #38 from go-gitea/csp-header
Fix CSP header for docs
This commit is contained in:
Коммит
b7d059f1c2
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче