Updated MeshCentral Router to fix #2877
Ylian Saint-Hilaire committed
Jul 8, 2021 at 17:52 UTC
a71f32e7f1d6a6993a8735c09bad5115e6eea49d
2 files changed
+1
agents/MeshCentralRouter.exe
Binary files a/agents/MeshCentralRouter.exe and b/agents/MeshCentralRouter.exe differ
views/default.handlebars
+1
@@ -2529,6 +2529,7 @@
2529
if (message.localport) { url += '&localport=' + message.localport; }
2530
if (message.ip != null) { url += ('&remoteip=' + message.ip); }
2531
url += ('&appid=' + message.protocol + '&autoexit=1'); // Protocol: 0 = Custom, 1 = HTTP, 2 = HTTPS, 3 = RDP, 4 = PuTTY, 5 = WinSCP, 6 = MCRDesktop, 7 = MCRFiles
2532
+ console.log(url);
2533
downloadFile(url, '');
2534
} else if (message.tag == 'novnc') {
2535
var vncurl = window.location.origin + domainUrl + 'novnc/vnc.html?ws=wss%3A%2F%2F' + window.location.host + encodeURIComponentEx(domainUrl) + (message.localRelay?'local':'mesh') + 'relay.ashx%3Fauth%3D' + message.cookie + '&show_dot=1' + (urlargs.key?('&key=' + urlargs.key):'') + '&l={{{lang}}}';