fedocal: Set APPLICATION_ROOT
This commit is contained in:
parent
1a5e7d694c
commit
82ad4ba5ca
1 changed files with 5 additions and 3 deletions
|
@ -36,10 +36,12 @@ PREFERRED_URL_SCHEME='https'
|
|||
# Make browsers send session cookie only via HTTPS
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
# Used by SESSION_COOKIE_PATH
|
||||
APPLICATION_ROOT = 'calendar/'
|
||||
|
||||
{% if env == 'staging' %}
|
||||
APP_URL = 'https://apps.stg.fedoraproject.org/calendar/'
|
||||
APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT
|
||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
|
||||
{% else %}
|
||||
APP_URL = 'https://apps.fedoraproject.org/calendar/'
|
||||
APP_URL = 'https://apps.fedoraproject.org/' + APPLICATION_ROOT
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue