Update roles/distgit/pagure/templates/pagure.cfg
Add Transtats link to CSP_HEADERS for Translation Status button to work.
This commit is contained in:
parent
176ce60e33
commit
88a5027744
1 changed files with 2 additions and 2 deletions
|
@ -292,12 +292,12 @@ PROJECT_NAME_REGEX = '^[a-zA-z0-9_][a-zA-Z0-9-_\.+]*$'
|
||||||
|
|
||||||
CSP_HEADERS = (
|
CSP_HEADERS = (
|
||||||
"default-src 'self'; "
|
"default-src 'self'; "
|
||||||
"script-src 'self' '{nonce_script}' https://apps.fedoraproject.org https://mdapi.fedoraproject.org; "
|
"script-src 'self' '{nonce_script}' https://apps.fedoraproject.org https://mdapi.fedoraproject.org https://transtats.fedoraproject.org; "
|
||||||
"style-src 'self' '{nonce_style}'; "
|
"style-src 'self' '{nonce_style}'; "
|
||||||
"object-src 'none'; "
|
"object-src 'none'; "
|
||||||
"base-uri 'self'; "
|
"base-uri 'self'; "
|
||||||
"img-src 'self' https:; "
|
"img-src 'self' https:; "
|
||||||
"connect-src 'self' https://pdc.fedoraproject.org https://apps.fedoraproject.org https://mdapi.fedoraproject.org;"
|
"connect-src 'self' https://pdc.fedoraproject.org https://apps.fedoraproject.org https://mdapi.fedoraproject.org https://transtats.fedoraproject.org;"
|
||||||
)
|
)
|
||||||
|
|
||||||
{% include "pagure_shared.cfg" %}
|
{% include "pagure_shared.cfg" %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue