aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-04-01 13:16:15 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-04-01 13:16:15 +0200
commit3620dae1e6b3fab5a4ba4001b4581ce7ed795996 (patch)
tree775d2fe5b2942d9231888ed01d0a0081a1b2347e /app/config/config.yml
parentb886ee923d7e627da2ae0221271bedbcb495025a (diff)
parentbfd69c74e5b4f2ebfcb304b1983bf771c2bb11f7 (diff)
downloadwallabag-3620dae1e6b3fab5a4ba4001b4581ce7ed795996.tar.gz
wallabag-3620dae1e6b3fab5a4ba4001b4581ce7ed795996.tar.zst
wallabag-3620dae1e6b3fab5a4ba4001b4581ce7ed795996.zip
Merge remote-tracking branch 'origin/master' into 2.4
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\.']