Commented out server stop command.

ylianst committed Nov 2, 2019 at 01:50 UTC 777a2f52f00b2ac3f103b16a67f2dc19fdec557c
1 file changed +1 -1
webserver.js
+1 -1
@@ -3394,7 +3394,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
3394 });
3395 }
3396
3397 - obj.app.get(url + 'stop', function (req, res) { res.send('Stopping Server, <a href="' + url + '">click here to login</a>.'); setTimeout(function () { parent.Stop(); }, 500); });
3397 + //obj.app.get(url + 'stop', function (req, res) { res.send('Stopping Server, <a href="' + url + '">click here to login</a>.'); setTimeout(function () { parent.Stop(); }, 500); });
3398
3399 // Indicates to ExpressJS that the override public folder should be used to serve static files.
3400 if (obj.parent.webPublicOverridePath != null) { obj.app.use(url, obj.express.static(obj.parent.webPublicOverridePath, { maxAge: '1h' })); }