From 4b5df5191533e1838edec68509f5081314a0d86f Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Sat, 20 Jan 2024 19:58:12 +0100 Subject: [PATCH] minify test --- init.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.mjs b/init.mjs index 60a5a82..484b423 100644 --- a/init.mjs +++ b/init.mjs @@ -3,7 +3,7 @@ import markdown from "nunjucks-markdown"; import { marked } from "marked"; import { minify } from "html-minifier"; -function minifyMiddleware(req, res, next) { +function minifyMiddleware(_req, res, next) { res.oldRender = res.render; res.render = function(view, options) { this.oldRender(view, options, function(err, html) {