Specify the APP_URL in fedocal, and different for stg and prod
This commit is contained in:
parent
68ccfbf89b
commit
682fbe86e9
1 changed files with 7 additions and 0 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue