From 8136dcdb6ba0c7a0b704e9acd394ecdcdb07c90e Mon Sep 17 00:00:00 2001 From: vpowler Date: Mon, 14 Feb 2022 14:48:39 +0200 Subject: [PATCH] Fix bundle controller (#182) Co-authored-by: Val --- src/controller/bundle.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/bundle.controller.ts b/src/controller/bundle.controller.ts index fb0a720..880bb76 100644 --- a/src/controller/bundle.controller.ts +++ b/src/controller/bundle.controller.ts @@ -98,7 +98,7 @@ export class BundleController extends BaseController { await streamFinished(bundleStream); - res.status(200).send(result).end(); + res.status(200).setHeader('Content-Type', 'application/json; charset=utf-8').send(result).end(); } @httpGet('/:bundleId/info')