Skip to content

Commit fd85f59

Browse files
committed
chore: 移除 trzsz 支持 (不能上传)
1 parent cae443d commit fd85f59

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

resource/template/dashboard-default/terminal.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
<script src="https://unpkg.com/xterm@5.3.0/lib/xterm.js"></script>
6464
<script src="https://unpkg.com/@xterm/addon-fit@0.10.0/lib/addon-fit.js"></script>
6565
<script src="https://unpkg.com/@xterm/addon-web-links@0.11.0/lib/addon-web-links.js"></script>
66-
<script src="https://unpkg.com/trzsz@1.1.5/lib/trzsz.js"></script>
6766
<script>
6867
let sendResizing = false;
6968

@@ -109,8 +108,6 @@
109108
const socket = new WebSocket((window.location.protocol == 'https:' ? 'wss' : 'ws') + '://' + window.location.host + '/terminal/' + '{{.SessionID}}');
110109
socket.binaryType = 'arraybuffer';
111110

112-
const trzszAddon = new TrzszAddon(socket);
113-
term.loadAddon(trzszAddon);
114111
const fitAddon = new FitAddon.FitAddon();
115112
term.loadAddon(fitAddon);
116113

0 commit comments

Comments
 (0)