From 8ce66e443f4ad7d76ea08a837d1bead8dff112ee Mon Sep 17 00:00:00 2001 From: soyuka Date: Sat, 6 Oct 2018 15:22:58 +0200 Subject: [PATCH] Expose "Link" header in nelmio --- nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml b/nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml index 0e04c0ba..6f202c26 100644 --- a/nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml +++ b/nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml @@ -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: '^/': ~