Specify the SITE_ROOT and SITE_URL for fedocal

This commit is contained in:
Pierre-Yves Chibon 2015-02-10 17:02:02 +01:00
parent 08a07552c5
commit d28c8088b0

View file

@ -42,6 +42,10 @@ APPLICATION_ROOT = '/calendar/'
{% if env == 'staging' %}
APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
SITE_ROOT = 'https://apps.stg.fedoraproject.org'
SITE_URL = '%s/calendar' % SITE_ROOT
{% else %}
APP_URL = 'https://apps.fedoraproject.org/' + APPLICATION_ROOT
SITE_ROOT = 'https://apps.fedoraproject.org'
SITE_URL = '%s/calendar' % SITE_ROOT
{% endif %}