1
0
Fork 0
forked from svrjs/svrjs

Add some TODO comments for middleware.

This commit is contained in:
Dorian Niemiec 2024-08-24 20:47:23 +02:00
parent e94391f197
commit 983133017f

View file

@ -187,6 +187,8 @@ let middleware = [
require("./middleware/checkForbiddenPaths.js"), require("./middleware/checkForbiddenPaths.js"),
require("./middleware/nonStandardCodesAndHttpAuthentication.js"), require("./middleware/nonStandardCodesAndHttpAuthentication.js"),
require("./middleware/redirectTrailingSlashes.js") require("./middleware/redirectTrailingSlashes.js")
// TODO: SVR.JS mods go here
// TODO: default handler
]; ];
function addMiddleware(mw) { function addMiddleware(mw) {