mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 15:37:19 +00:00
fix:
This commit is contained in:
@@ -13,7 +13,7 @@ WSSHClient.prototype._generateEndpoint = function (options) {
|
|||||||
var protocol = 'ws://';
|
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;
|
return endpoint;
|
||||||
};
|
};
|
||||||
WSSHClient.prototype.connect = function (options) {
|
WSSHClient.prototype.connect = function (options) {
|
||||||
|
Reference in New Issue
Block a user