From 489ec9741ab7ff1d48e458caa8e6be89547be1e9 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 17:15:40 +0200 Subject: [PATCH] Add process.serverConfig.productName --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9b11e88..fa5f751 100644 --- a/src/index.js +++ b/src/index.js @@ -319,7 +319,9 @@ if (process.serverConfig.allowPostfixDoubleSlashes === undefined) if (process.serverConfig.optOutOfStatisticsServer === undefined) process.serverConfig.optOutOfStatisticsServer = false; -process.serverConfig.version = version; // Compatiblity for very old SVR.JS mods +// Compatiblity for very old SVR.JS mods +process.serverConfig.version = version; +process.serverConfig.productName = name; const serverconsole = require("./utils/serverconsole.js");