Commit d07d99cc authored by wanli's avatar wanli

update

parent d947b9e5
......@@ -20,5 +20,5 @@ name = evm_store
backup_dir = backup
evueapps_dir = evueapps
launcher_dir = launcher
host = 0.0.0.0
port = 3000
host = 127.0.0.1
port = 5001
......@@ -251,7 +251,7 @@ export default {
initWebSocket() {
if ("WebSocket" in window) {
// this.socket = new WebSocket(`ws://${window.location.host}/ws/v1/notify`);
this.socket = new WebSocket(`ws://${window.location.hostname}:3000/ws/v1/notify`);
this.socket = new WebSocket(`ws://${window.location.hostname}:5001/ws/v1/notify`);
this.socket.onopen = () => {
console.log("连接成功");
this.sendMsg();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment