Fix other endpoints
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
20752d06e5
commit
f29cb4c61b
3 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@ APPLICATION_ROOT = '/calendar/'
|
|||
|
||||
{% if env == 'staging' %}
|
||||
APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
||||
SITE_ROOT = 'https://apps.stg.fedoraproject.org'
|
||||
SITE_URL = '%s/calendar' % SITE_ROOT
|
||||
{% else %}
|
||||
|
|
|
@ -36,7 +36,7 @@ PREFERRED_URL_SCHEME='https'
|
|||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
{% if env == 'staging' %}
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
||||
{% endif %}
|
||||
|
||||
# URL to where are located the fedmenu js files
|
||||
|
|
|
@ -4,9 +4,9 @@ SECRET_KEY = 'wat {{taggerCookieSecret}}'
|
|||
### url to the database server:
|
||||
DB_URL = 'postgresql://fedoratagger:{{taggerDBPassword}}@tagger_db/fedoratagger'
|
||||
{% if env == "staging" %}
|
||||
FAS_OPENID_ENDPOINT = 'http://id.stg.fedoraproject.org'
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
||||
{% else %}
|
||||
FAS_OPENID_ENDPOINT = 'http://id.fedoraproject.org'
|
||||
FAS_OPENID_ENDPOINT = 'https://id.fedoraproject.org/openid/'
|
||||
{% endif %}
|
||||
|
||||
# This is required for openid to work in stg. Might as well for prod too.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue