Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.1.1^2^2
zouap 4 years ago
parent
commit
96ebfbdf27
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      public/home/home.js

+ 1
- 2
public/home/home.js View File

@@ -37,8 +37,7 @@ var url = "ws://" + document.location.host + "/action/notification"
if(document.location.host == "git.openi.org.cn"){
url = "wss://" + document.location.host + "/action/notification"
}

var socket = new WebSocket("ws://" + document.location.host + "/action/notification");
var socket = new WebSocket(url);

socket.onopen = function () {
console.log("message has connected.");


Loading…
Cancel
Save