From d28c8088b0e9c6bc98e049a0ca24d6aa67747aa6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 10 Feb 2015 17:02:02 +0100 Subject: [PATCH] Specify the SITE_ROOT and SITE_URL for fedocal --- roles/fedocal/templates/fedocal.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/fedocal/templates/fedocal.cfg b/roles/fedocal/templates/fedocal.cfg index 903378b126..1d9f303cf5 100644 --- a/roles/fedocal/templates/fedocal.cfg +++ b/roles/fedocal/templates/fedocal.cfg @@ -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 %}