diff --git a/svr.js b/svr.js index f7ad097..10a47d2 100644 --- a/svr.js +++ b/svr.js @@ -3715,7 +3715,7 @@ if (!cluster.isPrimary) { var hdhds = getCustomHeaders(); var brNotImplementedBun = false; // Bun 1.1 has definition for zlib.createBrotliCompress, but throws an error while invoking the function. - if (process.isBun && configJSON.enableCompression) { + if (process.isBun && configJSON.enableCompression === true) { try { zlib.createBrotliCompress(); } catch (err) {