Specify the SITE_ROOT and SITE_URL for fedocal
This commit is contained in:
parent
08a07552c5
commit
d28c8088b0
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ APPLICATION_ROOT = '/calendar/'
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT
|
APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT
|
||||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
|
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
|
||||||
|
SITE_ROOT = 'https://apps.stg.fedoraproject.org'
|
||||||
|
SITE_URL = '%s/calendar' % SITE_ROOT
|
||||||
{% else %}
|
{% else %}
|
||||||
APP_URL = 'https://apps.fedoraproject.org/' + APPLICATION_ROOT
|
APP_URL = 'https://apps.fedoraproject.org/' + APPLICATION_ROOT
|
||||||
|
SITE_ROOT = 'https://apps.fedoraproject.org'
|
||||||
|
SITE_URL = '%s/calendar' % SITE_ROOT
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue