added content-type to allowed cors header for api (#672)
This commit is contained in:
@@ -20,6 +20,6 @@ nelmio_cors:
|
|||||||
paths:
|
paths:
|
||||||
'^/api/':
|
'^/api/':
|
||||||
allow_origin: ['*']
|
allow_origin: ['*']
|
||||||
allow_headers: ['X-AUTH-USER', 'X-AUTH-TOKEN']
|
allow_headers: ['X-AUTH-USER', 'X-AUTH-TOKEN', 'Content-Type']
|
||||||
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
|
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
|
||||||
max_age: 3600
|
max_age: 3600
|
||||||
|
|||||||
Reference in New Issue
Block a user