diff --git a/package.json b/package.json index 4a4c12e2..88d8c968 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.5.1-h", + "version": "0.5.1-i", "keywords": [ "Remote Management", "Intel AMT", diff --git a/webserver.js b/webserver.js index f169cdda..89ebd0a6 100644 --- a/webserver.js +++ b/webserver.js @@ -3509,7 +3509,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) { // Handle a request to download a mesh settings obj.handleMeshSettingsRequest = function (req, res) { - const domain = checkUserIpAddress(req, res); + const domain = getDomain(req); if (domain == null) { return; } //if ((domain.id !== '') || (!req.session) || (req.session == null) || (!req.session.userid)) { res.sendStatus(401); return; }