mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed device sharing links when using in LAN mode.
This commit is contained in:
parent
a357f0d13f
commit
6b1b034c61
3 changed files with 21 additions and 20 deletions
|
@ -1765,7 +1765,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||
if (inviteCookie == null) return;
|
||||
|
||||
// Create the server url
|
||||
var serverName = parent.getWebServerName(domain);
|
||||
var serverName = parent.getWebServerName(domain, req);
|
||||
var httpsPort = ((args.aliasport == null) ? args.port : args.aliasport); // Use HTTPS alias port is specified
|
||||
var xdomain = (domain.dns == null) ? domain.id : '';
|
||||
if (xdomain != '') xdomain += '/';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue