Skip to content

Commit

Permalink
chore: 移除 trzsz 支持 (不能上传)
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Aug 21, 2024
1 parent cae443d commit fd85f59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions resource/template/dashboard-default/terminal.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
<script src="https://unpkg.com/[email protected]/lib/xterm.js"></script>
<script src="https://unpkg.com/@xterm/[email protected]/lib/addon-fit.js"></script>
<script src="https://unpkg.com/@xterm/[email protected]/lib/addon-web-links.js"></script>
<script src="https://unpkg.com/[email protected]/lib/trzsz.js"></script>
<script>
let sendResizing = false;

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

const trzszAddon = new TrzszAddon(socket);
term.loadAddon(trzszAddon);
const fitAddon = new FitAddon.FitAddon();
term.loadAddon(fitAddon);

Expand Down

0 comments on commit fd85f59

Please sign in to comment.