aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 2d8f9bf0..078f277a 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -148,18 +148,18 @@ nelmio_cors:
148 paths: 148 paths:
149 '^/api/': 149 '^/api/':
150 allow_origin: ['*'] 150 allow_origin: ['*']
151 allow_headers: ['X-Custom-Auth'] 151 allow_headers: ['Authorization','content-type']
152 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] 152 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
153 max_age: 3600 153 max_age: 3600
154 '^/oauth/': 154 '^/oauth/':
155 allow_origin: ['*'] 155 allow_origin: ['*']
156 allow_headers: ['X-Custom-Auth'] 156 allow_headers: ['Authorization','content-type']
157 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 157 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
158 max_age: 3600 158 max_age: 3600
159 '^/': 159 '^/':
160 #origin_regex: true 160 #origin_regex: true
161 allow_origin: ['^http://localhost:[0-9]+'] 161 allow_origin: ['*']
162 allow_headers: ['X-Custom-Auth'] 162 allow_headers: ['Authorization','content-type']
163 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 163 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
164 max_age: 3600 164 max_age: 3600
165 hosts: ['^api\.'] 165 hosts: ['^api\.']