[copr][frontend] config: set http/https filter options
This commit is contained in:
parent
c11afe5673
commit
08d93b22f4
1 changed files with 8 additions and 0 deletions
|
@ -51,3 +51,11 @@ FEDMENU_DATA_URL = "https://apps.stg.fedoraproject.org/js/data.js"
|
||||||
FEDMENU_URL = "https://apps.fedoraproject.org/fedmenu/"
|
FEDMENU_URL = "https://apps.fedoraproject.org/fedmenu/"
|
||||||
FEDMENU_DATA_URL = "https://apps.fedoraproject.org/js/data.js"
|
FEDMENU_DATA_URL = "https://apps.fedoraproject.org/js/data.js"
|
||||||
{% endif %}
|
{% 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 %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue