From 7715dfc0334a868392f53210202f86ed6b31fa22 Mon Sep 17 00:00:00 2001 From: Dimitri Gritsajuk Date: Fri, 17 May 2024 11:43:39 +0200 Subject: [PATCH] Chore: CORS - allow app-version header --- config/packages/nelmio_cors.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/nelmio_cors.yaml b/config/packages/nelmio_cors.yaml index 248be337205..50162c17671 100644 --- a/config/packages/nelmio_cors.yaml +++ b/config/packages/nelmio_cors.yaml @@ -5,7 +5,7 @@ nelmio_cors: origin_regex: true allow_origin: ['%env(CORS_ALLOW_ORIGIN)%'] allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD'] - allow_headers: ['Content-Type', 'Accept', 'Authorization'] + allow_headers: ['Content-Type', 'Accept', 'Authorization', 'X-App-Version'] expose_headers: ['Content-Disposition'] max_age: 3600 '^/asset':