This commit is contained in:
aimuz 2018-07-26 16:04:32 +08:00 committed by GitHub
parent b7c68c77d8
commit 8fbc0ab55f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class InterfaceEdit extends Component {
let domain = location.hostname + (location.port !== "" ? ":" + location.port : "");
let s, initData = false;
//因后端 node 仅支持 ws 暂不支持 wss
let wsProtocol = location.protocol === 'https' ? 'ws' : 'ws';
let wsProtocol = location.protocol === 'https:' ? 'wss' : 'ws';
setTimeout(()=>{
if(initData === false){