From 908f19a770557acd593e73317aa6d40797987a00 Mon Sep 17 00:00:00 2001 From: Yorlg <1839033430@qq.com> Date: Thu, 8 Jun 2023 22:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95github=E7=9A=84actions?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 53d2dcb..2a94e57 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -6,7 +6,6 @@ import '../css/style.css'; const terminal = document.getElementById('terminal'); let ws; - function connectWebSocket (sshCredentials) { const isHttps = location.protocol === 'https:'; ws = new WebSocket(`${isHttps ? "wss" : "ws"}://${location.hostname}:${location.port}/ssh`); @@ -114,7 +113,6 @@ closeBtn.addEventListener('click', () => { location.reload(); }); - // 用于防抖的函数 function debounce (fn, delay) { let timer = null;