Skip to content

Commit

Permalink
测试github的actions自动构建
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorlg committed Jun 8, 2023
1 parent 9f436ab commit 908f19a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down Expand Up @@ -114,7 +113,6 @@ closeBtn.addEventListener('click', () => {
location.reload();
});


// 用于防抖的函数
function debounce (fn, delay) {
let timer = null;
Expand Down

0 comments on commit 908f19a

Please sign in to comment.