mirror of https://github.com/jumpserver/jumpserver
fix:
parent
dbb4904513
commit
32519f8eae
|
@ -13,7 +13,7 @@ WSSHClient.prototype._generateEndpoint = function (options) {
|
|||
var protocol = 'ws://';
|
||||
}
|
||||
|
||||
var endpoint = protocol + document.URL.match(RegExp('//(.*?)/'))[1] + '/ws/terminal';
|
||||
var endpoint = protocol + document.URL.match(RegExp('//(.*?)/'))[1] + '/ws/terminal'+document.URL.match(/(\?.*)/);
|
||||
return endpoint;
|
||||
};
|
||||
WSSHClient.prototype.connect = function (options) {
|
||||
|
|
Loading…
Reference in New Issue