diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index a59c6800b3..17c3f0d186 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -45,6 +45,12 @@ INTRANET_IPS = {{ copr_backend_ips }} REPO_GPGCHECK = {% if devel %} 0 {% else %} 1 {% endif %} +{% if env == 'staging' %} +PUBLIC_COPR_BASE_URL = "http://copr-fe-dev.cloud.fedoraproject.org" +{% else %} +PUBLIC_COPR_BASE_URL = "https://copr.fedorainfracloud.org" +{% endif %} + {% if env == 'staging' %} # Staging URLs for fedmenu FEDMENU_URL = "https://apps.stg.fedoraproject.org/fedmenu/"