aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
authorRurik19 <rurik19@yandex.ru>2016-08-18 14:30:32 +0500
committerRurik19 <rurik19@yandex.ru>2016-08-18 14:30:32 +0500
commit41c9eecfa728df7d8734ca1b0a69c55c93aafcea (patch)
tree24b20b53979bc1efe879fe64883469149fdb9060 /app/config
parent848c2e1b9750d73113983fef8fcc9055500acfd4 (diff)
downloadwallabag-41c9eecfa728df7d8734ca1b0a69c55c93aafcea.tar.gz
wallabag-41c9eecfa728df7d8734ca1b0a69c55c93aafcea.tar.zst
wallabag-41c9eecfa728df7d8734ca1b0a69c55c93aafcea.zip
Enable PATCH method for CORS in API part
Diffstat (limited to 'app/config')
-rw-r--r--app/config/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 666df963..408e1b1e 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -150,7 +150,7 @@ nelmio_cors:
150 '^/api/': 150 '^/api/':
151 allow_origin: ['*'] 151 allow_origin: ['*']
152 allow_headers: ['X-Custom-Auth'] 152 allow_headers: ['X-Custom-Auth']
153 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 153 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
154 max_age: 3600 154 max_age: 3600
155 '^/oauth/': 155 '^/oauth/':
156 allow_origin: ['*'] 156 allow_origin: ['*']