mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix the CSP policy to let the Fedora magazine widget work
Since https://pagure.io/fedora-web/websites/pull-request/57 got merged, we also need to fix the CSP policy since it get the article from a local json file on the server (see the PR for details)
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
7fb214fe3d
commit
f01ae28b8c
@@ -1 +1 @@
|
||||
Header always set Content-Security-Policy "default-src 'none'; img-src 'self' https://fedoramagazine.org; script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src https://fedoramagazine.org https://builds.coreos.fedoraproject.org; "
|
||||
Header always set Content-Security-Policy "default-src 'none'; img-src 'self' https://fedoramagazine.org; script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://builds.coreos.fedoraproject.org; "
|
||||
|
||||
Reference in New Issue
Block a user