From: Rurik19 Date: Thu, 18 Aug 2016 09:30:32 +0000 (+0500) Subject: Enable PATCH method for CORS in API part X-Git-Tag: 2.0.7~5^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F2220%2Fhead;p=github%2Fwallabag%2Fwallabag.git Enable PATCH method for CORS in API part --- 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: '^/api/': allow_origin: ['*'] allow_headers: ['X-Custom-Auth'] - allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] + allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] max_age: 3600 '^/oauth/': allow_origin: ['*']