mirror of https://github.com/tp4a/teleport
fix: 默认WEB端口为80时,重放RDP录像会失败。
parent
33ff1b9b60
commit
2b115fa2b5
|
@ -178,7 +178,7 @@ ywl.on_host_table_created = function (tbl) {
|
|||
if (protocol === PROTOCOL_TYPE_RDP) {
|
||||
$(cell_obj).find('[ywl-btn-record]').click(function () {
|
||||
var ip = window.location.hostname;
|
||||
var port = parseInt(window.location.port);
|
||||
var port = (window.location.port === "") ? 80 : parseInt(window.location.port);
|
||||
var url = 'http://' + ip + ':' + port + '/log/replay/rdp/' + row_data.id;
|
||||
var tail = 'log/replay/rdp/' + prefixInteger(row_data.id, 6);
|
||||
var args = {};
|
||||
|
|
Loading…
Reference in New Issue