Skip to content

Commit

Permalink
minify test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Jan 20, 2024
1 parent 8b8fdd2 commit 4b5df51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b5df51

Please sign in to comment.