fedocal: Set APPLICATION_ROOT

This commit is contained in:
Till Maas 2015-02-04 16:27:03 +01:00
parent 1a5e7d694c
commit 82ad4ba5ca

View file

@ -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 %}