aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 bce38268..30d6de93 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -155,6 +155,11 @@ nelmio_cors:
155 allow_headers: ['X-Custom-Auth'] 155 allow_headers: ['X-Custom-Auth']
156 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 156 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
157 max_age: 3600 157 max_age: 3600
158 '^/oauth/':
159 allow_origin: ['*']
160 allow_headers: ['X-Custom-Auth']
161 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
162 max_age: 3600
158 '^/': 163 '^/':
159 #origin_regex: true 164 #origin_regex: true
160 allow_origin: ['^http://localhost:[0-9]+'] 165 allow_origin: ['^http://localhost:[0-9]+']