forked from svrjs/svrjs
Add "Load SVR.JS mods as middleware" comment.
This commit is contained in:
parent
9d0a156c46
commit
aa4e4d0c15
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ 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"),
|
||||||
...mods,
|
...mods, // Load SVR.JS mods as middleware
|
||||||
require("./middleware/defaultHandlerChecks.js"),
|
require("./middleware/defaultHandlerChecks.js"),
|
||||||
require("./middleware/status.js"),
|
require("./middleware/status.js"),
|
||||||
require("./middleware/staticFileServingAndDirectoryListings.js"),
|
require("./middleware/staticFileServingAndDirectoryListings.js"),
|
||||||
|
|
Reference in a new issue