mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 18:41:38 +08:00
[copr][frontend] config: set http/https filter options
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user