From: Jeremy Benoist Date: Thu, 18 Aug 2016 09:56:02 +0000 (+0200) Subject: Merge pull request #2220 from Rurik19/master X-Git-Tag: 2.0.7~5 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=e408d7e895e784271a55c3a200666034db0af80a;hp=b762ab3cceecfbe50443a6bf35e2ce8c71021d49 Merge pull request #2220 from Rurik19/master Enable PATCH method for CORS in API part --- 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: '^/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: ['*']