From aa4e4d0c15df007c1da70dd8befcdf7dcc91f641 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 14:05:19 +0200 Subject: [PATCH] Add "Load SVR.JS mods as middleware" comment. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 39768e2..6717ec0 100644 --- a/src/index.js +++ b/src/index.js @@ -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"),