added content-type to allowed cors header for api (#672)

This commit is contained in:
hmr-it-jr
2019-04-01 21:51:46 +02:00
committed by Kevin Papst
parent 3c361c9414
commit 26de367bc5

View File

@@ -20,6 +20,6 @@ nelmio_cors:
paths:
'^/api/':
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']
max_age: 3600