diff --git a/public/home/home.js b/public/home/home.js index 680c32116..9598c65d7 100644 --- a/public/home/home.js +++ b/public/home/home.js @@ -39,7 +39,8 @@ if(document.location.host == "git.openi.org.cn" || document.URL.startsWith("http var socket = new WebSocket(url); socket.onopen = function () { - messageQueue = []; + messageQueue = []; + console.log("message has connected."); }; var maxSize = 20;