From 8e095c1fd6164fafc7d5cfd144528a0d67afef7c Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期三, 22 三月 2023 17:31:15 +0800 Subject: [PATCH] 转发页面修改 --- api/request.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/api/request.js b/api/request.js index 8d6d256..6b7e1b8 100644 --- a/api/request.js +++ b/api/request.js @@ -78,9 +78,10 @@ 500: responseError } -// const BaseUrl = "http://192.168.3.159:9999/"; -// const BaseUrl = "http://192.168.0.120:9997"; -const BaseUrl = "http://192.168.0.120:9997"; +// const BaseUrl = "http://192.168.0.120:9997" +// const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info" +const BaseUrl = "http://192.168.3.130:9997"; +const webSocketUrl = "ws://192.168.3.130:9997/wrzs/ws/info" // 璇锋眰鎷︽埅 const fetch = (url, opt) => { @@ -146,5 +147,6 @@ export { fetch, - BaseUrl + BaseUrl, + webSocketUrl } -- Gitblit v1.9.1