Hubs: fixes related to the staging env
This commit is contained in:
parent
7e291eb576
commit
475709bd70
2 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,9 @@ config = {
|
||||||
'fas_credentials': {
|
'fas_credentials': {
|
||||||
'username': '{{ hubs_fas_username }}',
|
'username': '{{ hubs_fas_username }}',
|
||||||
'password': '{{ hubs_fas_password }}',
|
'password': '{{ hubs_fas_password }}',
|
||||||
|
{% if env == "staging" %}
|
||||||
|
'base_url': "https://admin.stg.fedoraproject.org/accounts/",
|
||||||
|
{% endif %}
|
||||||
},
|
},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,9 @@ SSE_URL = {
|
||||||
{% if hubs_dev_mode %}
|
{% if hubs_dev_mode %}
|
||||||
"port": "8080",
|
"port": "8080",
|
||||||
{% else %}
|
{% else %}
|
||||||
|
{% if hubs_ssl_cert == None %}
|
||||||
|
"scheme": "https", # Because of the SSL proxy
|
||||||
|
{% endif %}
|
||||||
"path": "/sse",
|
"path": "/sse",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue