Commit 0ab79981 authored by wanli's avatar wanli

update

parent 5293c144
......@@ -21,4 +21,4 @@ backup_dir = backup
evueapps_dir = evueapps
launcher_dir = launcher
host = 127.0.0.1
port = 5000
port = 3000
......@@ -8,7 +8,7 @@ import uuid
import sqlite3
from datetime import datetime
from flask import Blueprint, request, redirect, url_for, json, Response, send_file, make_response, send_from_directory
from flask import Blueprint, request, json
from werkzeug.utils import secure_filename
from app import config, signalManager
......@@ -59,6 +59,7 @@ def hello_evm():
def action_opqcp():
params = request.json
result, message = signalManager.actionOpqcp.emit(params)
print(result)
return response_result(ResponseCode.OK, msg=message)
......
......@@ -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}:5000/ws/v1/notify`);
this.socket = new WebSocket(`ws://${window.location.hostname}:3000/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