Hubs: fixes related to the staging env

This commit is contained in:
Aurélien Bompard 2018-02-21 09:47:21 +00:00
parent 7e291eb576
commit 475709bd70
2 changed files with 6 additions and 0 deletions

View file

@ -21,6 +21,9 @@ config = {
'fas_credentials': {
'username': '{{ hubs_fas_username }}',
'password': '{{ hubs_fas_password }}',
{% if env == "staging" %}
'base_url': "https://admin.stg.fedoraproject.org/accounts/",
{% endif %}
},
{% endif %}

View file

@ -20,6 +20,9 @@ SSE_URL = {
{% if hubs_dev_mode %}
"port": "8080",
{% else %}
{% if hubs_ssl_cert == None %}
"scheme": "https", # Because of the SSL proxy
{% endif %}
"path": "/sse",
{% endif %}
}