Pass BROTLI_OPERATION_FLUSH to koa-compress

This commit is contained in:
Zaid Abdulla committed 2021-11-29 23:11:20 -08:00
1 parent 3c55306e22
commit 94756e463f
1 file changed
+1
+1
View File
@@ -263,6 +263,7 @@ koa.use(
flush: constants.Z_SYNC_FLUSH,
},
br: {
flush: constants.BROTLI_OPERATION_FLUSH,
params: {
[constants.BROTLI_PARAM_QUALITY]: 5,
},