Shared desktop link can now be loaded from any IP address.

This commit is contained in:
Ylian Saint-Hilaire 2020-08-10 09:48:20 -07:00
parent 1e82f3c6e3
commit 7bd71fe41f
1 changed files with 1 additions and 1 deletions

View File

@ -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; }