From 080c150f00325e28092a659d7eef1a2771ef070a Mon Sep 17 00:00:00 2001 From: Nicolas Thouvenin Date: Fri, 20 Oct 2023 17:38:46 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20allow=20swagger=20ui=20to?= =?UTF-8?q?=20download=20binary=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/server/knownPipeline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/server/knownPipeline.js b/packages/core/src/server/knownPipeline.js index 87de73cf..2b5374b0 100644 --- a/packages/core/src/server/knownPipeline.js +++ b/packages/core/src/server/knownPipeline.js @@ -57,6 +57,7 @@ const knownPipeline = (ezs) => (request, response, next) => { response.setHeader('Access-Control-Allow-Origin', '*'); response.setHeader('Access-Control-Allow-Methods', 'POST, OPTIONS'); response.setHeader('Access-Control-Allow-Headers', '*'); + response.setHeader('Access-Control-Expose-Headers', '*'); response.setHeader('Content-Encoding', contentEncoding); response.setHeader('Content-Disposition', contentDisposition); response.setHeader('Content-Type', contentType);