mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-21 11:04:13 -04:00
Merge branch 'master' of https://github.com/Ylianst/MeshCentral
This commit is contained in:
commit
1087d7ef7f
@ -21,6 +21,17 @@ backend sni-back
|
|||||||
use-server mc-SNI if mc-sni
|
use-server mc-SNI if mc-sni
|
||||||
server mc-SNI 10.1.1.10:1443 send-proxy-v2-ssl-cn
|
server mc-SNI 10.1.1.10:1443 send-proxy-v2-ssl-cn
|
||||||
|
|
||||||
|
frontend cira-tcp-front
|
||||||
|
bind 10.1.1.10:4433
|
||||||
|
mode tcp
|
||||||
|
option tcplog
|
||||||
|
tcp-request inspect-delay 5s
|
||||||
|
default_backend mc-cira-back
|
||||||
|
|
||||||
|
backend cira-tcp-back
|
||||||
|
mode tcp
|
||||||
|
server mc-cira 10.1.1.30:4433
|
||||||
|
|
||||||
frontend mc-front-HTTPS
|
frontend mc-front-HTTPS
|
||||||
mode http
|
mode http
|
||||||
option forwardfor
|
option forwardfor
|
||||||
|
@ -1670,7 +1670,13 @@
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tunnelUpdate(data) { if (typeof data == 'string') { xterm.writeUtf8(data); } else { xterm.writeUtf8(new Uint8Array(data)); } }
|
function tunnelUpdate(data) {
|
||||||
|
if (xterm.writeUtf8) {
|
||||||
|
if (typeof data == 'string') { xterm.writeUtf8(data); } else { xterm.writeUtf8(new Uint8Array(data)); }
|
||||||
|
} else {
|
||||||
|
if (typeof data == 'string') { xterm.write(data); } else { xterm.write(new Uint8Array(data)); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function sshTunnelUpdate(data) {
|
function sshTunnelUpdate(data) {
|
||||||
if (typeof data == 'string') {
|
if (typeof data == 'string') {
|
||||||
|
@ -1405,7 +1405,13 @@
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tunnelUpdate(data) { if (typeof data == 'string') { xterm.writeUtf8(data); } else { xterm.writeUtf8(new Uint8Array(data)); } }
|
function tunnelUpdate(data) {
|
||||||
|
if (xterm.writeUtf8) {
|
||||||
|
if (typeof data == 'string') { xterm.writeUtf8(data); } else { xterm.writeUtf8(new Uint8Array(data)); }
|
||||||
|
} else {
|
||||||
|
if (typeof data == 'string') { xterm.write(data); } else { xterm.write(new Uint8Array(data)); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Send the new terminal size to the agent
|
// Send the new terminal size to the agent
|
||||||
function xTermSendResize() {
|
function xTermSendResize() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user