Expose "Link" header in nelmio

This commit is contained in:
soyuka
2018-10-06 15:22:58 +02:00
parent 528f953063
commit 8ce66e443f
@@ -4,6 +4,7 @@ nelmio_cors:
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
allow_headers: ['Content-Type', 'Authorization']
expose_headers: ['Link']
max_age: 3600
paths:
'^/': ~