pagure: allow git push over http in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
a45c3c772a
commit
9e5a4a2128
1 changed files with 2 additions and 0 deletions
|
@ -358,6 +358,8 @@ GIT_AUTH_BACKEND = 'pagure'
|
|||
HTTP_REPO_ACCESS_GITOLITE = None
|
||||
|
||||
{% if env == 'pagure-staging' %}
|
||||
ALLOW_HTTP_PUSH = True
|
||||
|
||||
CSP_HEADERS = (
|
||||
"default-src 'self';"
|
||||
"script-src 'self' '{nonce_script}'; "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue