1
0
Fork 0
forked from svrjs/svrjs

Add "Load SVR.JS mods as middleware" comment.

This commit is contained in:
Dorian Niemiec 2024-08-25 14:05:19 +02:00
parent 9d0a156c46
commit aa4e4d0c15

View file

@ -336,7 +336,7 @@ let middleware = [
require("./middleware/checkForbiddenPaths.js"),
require("./middleware/nonStandardCodesAndHttpAuthentication.js"),
require("./middleware/redirectTrailingSlashes.js"),
...mods,
...mods, // Load SVR.JS mods as middleware
require("./middleware/defaultHandlerChecks.js"),
require("./middleware/status.js"),
require("./middleware/staticFileServingAndDirectoryListings.js"),