From 0b4b2a802c70e089400ea50a6eb2a04728c1357e Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 18 Aug 2016 07:17:28 -0700 Subject: [PATCH] Added CORS configuration for karma This will automatically configure the vagrant-driven devstack instance to permit CORS from the karma-based browser host. Change-Id: I553b1dc38cb337efbcc5c6bcb991f346609c872c --- vagrant.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vagrant.sh b/vagrant.sh index d4d2905..7f1c243 100644 --- a/vagrant.sh +++ b/vagrant.sh @@ -42,6 +42,10 @@ RECLONE=True #NOVACLIENT_BRANCH=milestone-proposed #NEUTRON_BRANCH=milestone-proposed #SWIFT_BRANCH=milestone-proposed + +[[post-config|\$KEYSTONE_CONF]] +[cors] +allowed_origin=http://localhost:9876 EOL # Start devstack.