Enable PATCH method for CORS in API part

This commit is contained in:
Rurik19 2016-08-18 14:30:32 +05:00
parent 848c2e1b97
commit 41c9eecfa7

View file

@ -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: ['*']