From eebada191bed5d754d914b20532e37675876ae02 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 14:24:18 +0200 Subject: [PATCH] Lint out the codebase --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 6717ec0..3e2850f 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, // Load SVR.JS mods as middleware + ...mods, // Load SVR.JS mods as middleware require("./middleware/defaultHandlerChecks.js"), require("./middleware/status.js"), require("./middleware/staticFileServingAndDirectoryListings.js"), @@ -372,6 +372,6 @@ if (wwwrootError) throw wwwrootError; if (configJSONRErr) throw configJSONRErr; if (configJSONPErr) throw configJSONPErr; modLoadingErrors.forEach((modLoadingError) => { - console.log("Error while loading \"" + modLoadingError.modName + "\" mod:"); + console.log('Error while loading "' + modLoadingError.modName + '" mod:'); console.log(modLoadingError.error); -}); \ No newline at end of file +});