Merge pull request #2220 from Rurik19/master
Enable PATCH method for CORS in API part
This commit is contained in:
commit
e408d7e895
@ -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: ['*']
|
||||
|
Loading…
x
Reference in New Issue
Block a user