forked from svrjs/svrjs
Remove commented out addMiddleware function.
This commit is contained in:
parent
7d4dcdd2a6
commit
6958ec6c94
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Reference in a new issue