mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Shared desktop link can now be loaded from any IP address.
This commit is contained in:
parent
a1c70f32c0
commit
1bb96101fe
1 changed files with 1 additions and 1 deletions
|
@ -2875,7 +2875,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
|
||||
// Serve the guest desktop page
|
||||
function handleDesktopRequest(req, res) {
|
||||
const domain = checkUserIpAddress(req, res);
|
||||
const domain = getDomain(req, res);
|
||||
if (domain == null) { return; }
|
||||
if (req.query.c == null) { res.sendStatus(404); return; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue