The CORS_URL should be bodhi's

This commit is contained in:
Pierre-Yves Chibon 2017-08-24 16:19:41 +02:00
parent 452a4a4916
commit c1b2115429

View file

@ -10,14 +10,15 @@ data:
PORT = 8080
DEBUG = False
POLICIES_DIR = '/etc/greenwave/'
CORS_URL = 'https://greenwave-web-greenwave.app.os.stg.fedoraproject.org'
{% if env == 'staging' %}
SECRET_KEY = '{{stg_greenwave_secret_key}}'
WAIVERDB_API_URL = 'https://waiverdb-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
CORS_URL = 'https://bodhi.stg.fedoraproject.org'
{% else %}
SECRET_KEY = '{{prod_greenwave_secret_key}}'
WAIVERDB_API_URL = 'https://waiverdb-web-waiverdb.app.os.fedoraproject.org/api/v1.0'
CORS_URL = 'https://bodhi.fedoraproject.org'
{% endif %}
fedora.yaml: |-
--- !Policy