diff --git a/roles/fedocal/templates/fedocal.cfg b/roles/fedocal/templates/fedocal.cfg index 786f321e45..a73e77b5dc 100644 --- a/roles/fedocal/templates/fedocal.cfg +++ b/roles/fedocal/templates/fedocal.cfg @@ -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 %} +