From 94756e463f841d77ae9dc95ab83cc5c352dd616d Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Mon, 29 Nov 2021 23:11:20 -0800 Subject: [PATCH] Pass BROTLI_OPERATION_FLUSH to koa-compress --- lib/ui.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ui.ts b/lib/ui.ts index 994959a..133ab17 100644 --- a/lib/ui.ts +++ b/lib/ui.ts @@ -263,6 +263,7 @@ koa.use( flush: constants.Z_SYNC_FLUSH, }, br: { + flush: constants.BROTLI_OPERATION_FLUSH, params: { [constants.BROTLI_PARAM_QUALITY]: 5, },