Merge pull request #2220 from Rurik19/master

Enable PATCH method for CORS in API part
This commit is contained in:
Jeremy Benoist 2016-08-18 11:56:02 +02:00 committed by GitHub
commit e408d7e895

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