Specify the APP_URL in fedocal, and different for stg and prod

This commit is contained in:
Pierre-Yves Chibon 2014-03-04 13:14:05 +01:00
parent 68ccfbf89b
commit 682fbe86e9

View file

@ -32,3 +32,10 @@ PATH_ALEMBIC_INI='/etc/fedocal/alembic.ini'
# This is required to fix login
PREFERRED_URL_SCHEME='https'
{% if env == 'staging' %}
APP_URL = 'https://apps.stg.fedoraproject.org/calendar/'
{% else %}
APP_URL = 'https://apps.fedoraproject.org/calendar/'
{% endif %}