Allow all CORS origins for the API live demo

This will allow developers to iterate on the web interface without
needing to spin up an API server.

Change-Id: I3838dbe3fea45e7139c4a50ab2e402038322acfc
This commit is contained in:
David Moreau Simard 2019-05-29 08:46:36 -04:00
parent 47ecb4fa11
commit 648191bb47
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621

View File

@ -10,9 +10,12 @@
ara_api_wsgi_server: gunicorn ara_api_wsgi_server: gunicorn
ara_api_allowed_hosts: ara_api_allowed_hosts:
- api.demo.recordsansible.org - api.demo.recordsansible.org
# TODO: Figure out if it's possible to set ara-web to use demo from localhost:3000
ara_api_cors_origin_allow_all: true
ara_api_cors_origin_whitelist: ara_api_cors_origin_whitelist:
- web.demo.recordsansible.org - https://web.demo.recordsansible.org
- logs.openstack.org - http://logs.openstack.org
- http://localhost:3000
# ara_web # ara_web
ara_web_fqdn: web.demo.recordsansible.org ara_web_fqdn: web.demo.recordsansible.org
ara_web_api_endpoint: "https://api.demo.recordsansible.org" ara_web_api_endpoint: "https://api.demo.recordsansible.org"