[copr][frontend] config: set http/https filter options

This commit is contained in:
Valentin Gologuzov 2015-07-07 14:55:15 +02:00
parent c11afe5673
commit 08d93b22f4

View file

@ -51,3 +51,11 @@ FEDMENU_DATA_URL = "https://apps.stg.fedoraproject.org/js/data.js"
FEDMENU_URL = "https://apps.fedoraproject.org/fedmenu/"
FEDMENU_DATA_URL = "https://apps.fedoraproject.org/js/data.js"
{% endif %}
{% if env == 'staging %}
ENFORCE_PROTOCOL_FOR_BACKEND_URL = "http"
ENFORCE_PROTOCOL_FOR_FRONTEND_URL = "http"
{% else %}
ENFORCE_PROTOCOL_FOR_BACKEND_URL = "https"
ENFORCE_PROTOCOL_FOR_FRONTEND_URL = "https"
{% endif %}