From 9b01d469076ed20e903c76e30f5da5ebb79b5367 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 27 Aug 2024 12:16:21 +0200 Subject: [PATCH] Fix the code for "${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected" message --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 19614bf..af42e2e 100644 --- a/src/index.js +++ b/src/index.js @@ -1786,7 +1786,7 @@ function start(init) { serverconsole.locwarnmessage( "Can't load OCSP module. OCSP stapling will be disabled. OCSP stapling is a security feature that improves the performance and security of HTTPS connections by caching the certificate status response. If you require this feature, consider updating your Node.JS version or checking for any issues with the 'ocsp' module.", ); - if (process.serverConfig.disableMods) + if (disableMods) serverconsole.locwarnmessage( `${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected`, );