From 41c9eecfa728df7d8734ca1b0a69c55c93aafcea Mon Sep 17 00:00:00 2001 From: Rurik19 Date: Thu, 18 Aug 2016 14:30:32 +0500 Subject: Enable PATCH method for CORS in API part --- app/config/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/config') 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: ['*'] -- cgit v1.2.3