From 6958ec6c949ab2edac3e6f100775888e5cc521c8 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 15:55:36 +0200 Subject: [PATCH] Remove commented out addMiddleware function. --- src/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.js b/src/index.js index f879835..18e0192 100644 --- a/src/index.js +++ b/src/index.js @@ -480,10 +480,6 @@ let middleware = [ require("./middleware/staticFileServingAndDirectoryListings.js"), ]; -//function addMiddleware(mw) { -// middleware.push(mw); -//} - const requestHandler = require("./handlers/requestHandler.js")( serverconsole, middleware,