aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-08-18 11:56:02 +0200
committerGitHub <noreply@github.com>2016-08-18 11:56:02 +0200
commite408d7e895e784271a55c3a200666034db0af80a (patch)
tree00ec430619c1da53f2fe3766e43c281a7293ced4 /app
parentb762ab3cceecfbe50443a6bf35e2ce8c71021d49 (diff)
parent41c9eecfa728df7d8734ca1b0a69c55c93aafcea (diff)
downloadwallabag-e408d7e895e784271a55c3a200666034db0af80a.tar.gz
wallabag-e408d7e895e784271a55c3a200666034db0af80a.tar.zst
wallabag-e408d7e895e784271a55c3a200666034db0af80a.zip
Merge pull request #2220 from Rurik19/master
Enable PATCH method for CORS in API part
Diffstat (limited to 'app')
-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 30d6de93..72c854ab 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -153,7 +153,7 @@ nelmio_cors:
153 '^/api/': 153 '^/api/':
154 allow_origin: ['*'] 154 allow_origin: ['*']
155 allow_headers: ['X-Custom-Auth'] 155 allow_headers: ['X-Custom-Auth']
156 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 156 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
157 max_age: 3600 157 max_age: 3600
158 '^/oauth/': 158 '^/oauth/':
159 allow_origin: ['*'] 159 allow_origin: ['*']