]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2220 from Rurik19/master
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Thu, 18 Aug 2016 09:56:02 +0000 (11:56 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2016 09:56:02 +0000 (11:56 +0200)
Enable PATCH method for CORS in API part

app/config/config.yml

index 30d6de930c27166e3aa6369b1fbf9a7383bfffee..72c854ab4b871708da01a7b44cd9da774c8cacf6 100644 (file)
@@ -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: ['*']