1
0
Fork 0
forked from svrjs/svrjs

Remove commented out addMiddleware function.

This commit is contained in:
Dorian Niemiec 2024-08-25 15:55:36 +02:00
parent 7d4dcdd2a6
commit 6958ec6c94

View file

@ -480,10 +480,6 @@ let middleware = [
require("./middleware/staticFileServingAndDirectoryListings.js"), require("./middleware/staticFileServingAndDirectoryListings.js"),
]; ];
//function addMiddleware(mw) {
// middleware.push(mw);
//}
const requestHandler = require("./handlers/requestHandler.js")( const requestHandler = require("./handlers/requestHandler.js")(
serverconsole, serverconsole,
middleware, middleware,