Commit d07d99cc authored by wanli's avatar wanli

update

parent d947b9e5
...@@ -20,5 +20,5 @@ name = evm_store ...@@ -20,5 +20,5 @@ name = evm_store
backup_dir = backup backup_dir = backup
evueapps_dir = evueapps evueapps_dir = evueapps
launcher_dir = launcher launcher_dir = launcher
host = 0.0.0.0 host = 127.0.0.1
port = 3000 port = 5001
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
initWebSocket() { initWebSocket() {
if ("WebSocket" in window) { if ("WebSocket" in window) {
// this.socket = new WebSocket(`ws://${window.location.host}/ws/v1/notify`); // 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 = () => { this.socket.onopen = () => {
console.log("连接成功"); console.log("连接成功");
this.sendMsg(); 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