diff --git a/wsgate/webroot/index-debug.html b/wsgate/webroot/index-debug.html index 7cf042c3..24f46794 100644 --- a/wsgate/webroot/index-debug.html +++ b/wsgate/webroot/index-debug.html @@ -127,7 +127,7 @@ function RDPStart(uri, title){ if(uri === undefined){ - uri = wsBase; + uri = wsBase.replace(/(\:\d+)(\:\d+)/gi, "$1"); } if(title === undefined){ title = "FreeRDP WebConnect: connected to " + $('rdphost').value.trim();