mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed Web-RDP when used with non-default domain (#4271)
This commit is contained in:
parent
410ead461d
commit
acb9a5bb6e
4 changed files with 10 additions and 8 deletions
|
@ -8686,7 +8686,7 @@
|
|||
meshserver.send({ action: 'msg', type: 'userSessions', nodeid: currentNode._id, tag: consent });
|
||||
} else if (contype == 4) {
|
||||
// Setup RDP remote desktop
|
||||
desktop = CreateRDPDesktop('Desk');
|
||||
desktop = CreateRDPDesktop('Desk', domainUrl);
|
||||
desktop.onStateChanged = onDesktopStateChange;
|
||||
desktop.m.onScreenSizeChange = mdeskAdjust;
|
||||
desktop.m.onClipboardChanged = function(text) { if ((text != null) && (desktopsettings.rdpautoclipboard) && (navigator.clipboard != null)) { navigator.clipboard.writeText(text).then(function() { }).catch(function(err) { console.log(err); }) } } // Put remote clipboard data into our clipboard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue