mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 03:21:05 +00:00
fix:
This commit is contained in:
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
Block a user