aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/config/config.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 689cccec..666df963 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -152,6 +152,11 @@ nelmio_cors:
152 allow_headers: ['X-Custom-Auth'] 152 allow_headers: ['X-Custom-Auth']
153 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 153 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
154 max_age: 3600 154 max_age: 3600
155 '^/oauth/':
156 allow_origin: ['*']
157 allow_headers: ['X-Custom-Auth']
158 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
159 max_age: 3600
155 '^/': 160 '^/':
156 #origin_regex: true 161 #origin_regex: true
157 allow_origin: ['^http://localhost:[0-9]+'] 162 allow_origin: ['^http://localhost:[0-9]+']