Commit e4961168 authored by 李翰林's avatar 李翰林

修改socketio地址

parent 8d4f3bc3
...@@ -29,8 +29,8 @@ const { NODE_ENV } = process.env; ...@@ -29,8 +29,8 @@ const { NODE_ENV } = process.env;
// }`; // }`;
const websocketUrl = const websocketUrl =
NODE_ENV == "development" NODE_ENV == "development"
? "http://192.168.40.41" ? "http://192.168.40.41:7001"
: "http://192.168.40.41"; : "http://192.168.40.41:7001";
// : `${window.location.protocol == "http:" ? "ws" : "wss"}://${ // : `${window.location.protocol == "http:" ? "ws" : "wss"}://${
// window.location.host // window.location.host
// }`; // }`;
......
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