distgit/pagure: Allow the html to connect to apps.fp.o and mdapi.fp.o

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-02-07 17:20:18 +01:00
parent 1d2cb5c54d
commit a232c72149

View file

@ -296,7 +296,7 @@ CSP_HEADERS = (
"object-src 'none'; "
"base-uri 'self'; "
"img-src 'self' https:; "
"connect-src 'self' https://pdc.fedoraproject.org;"
"connect-src 'self' https://pdc.fedoraproject.org https://apps.fedoraproject.org https://mdapi.fedoraproject.org;"
)
{% include "pagure_shared.cfg" %}