From f988312323d92c95fd22aad4c918f5949d1c927d Mon Sep 17 00:00:00 2001 From: Nancy <1756224050@qq.com> Date: Wed, 31 Dec 2025 09:37:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/dev.env.js | 6 +++--- config/prod.env.js | 8 ++++---- static/config.js | 7 ++----- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/config/dev.env.js b/config/dev.env.js index 3622167..9499a42 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -1,7 +1,7 @@ //开发环境 module.exports = { NODE_ENV: '"development"', - BASE_API: '"http://127.0.0.1"', - DOMAIN: '"http://localhost:8081"', - SOCKET_URL:'"ws://127.0.0.1:8326/"' + BASE_API: '"http://124.222.155.209"', + DOMAIN: '"http://124.222.155.209"', + SOCKET_URL:'"ws://124.222.155.209:8326/"' } diff --git a/config/prod.env.js b/config/prod.env.js index 17e783e..2d19f3d 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,7 +1,7 @@ -//测试环境 +//生产环境 module.exports = { NODE_ENV: '"production"', - BASE_API:'"http://47.75.125.96"', - DOMAIN: '"http://47.75.125.96"', - SOCKET_URL:'"ws://47.75.47.120:8326"' + BASE_API:'"http://124.222.155.209"', + DOMAIN: '"http://124.222.155.209"', + SOCKET_URL:'"ws://124.222.155.209:8326"' } diff --git a/static/config.js b/static/config.js index ccd9fe6..dc929d1 100644 --- a/static/config.js +++ b/static/config.js @@ -1,9 +1,6 @@ window.config={ - // 测试环境服务器地址 - socketServer:'ws://127.0.0.1:8326/', - ajaxServer: 'http://127.0.0.1', // 生产环境服务器地址 - //socketServer:'ws://103.71.178.73:8326/', - //ajaxServer: 'http://103.71.178.73/v2/s' + socketServer:'ws://124.222.155.209:8326/', + ajaxServer: 'http://124.222.155.209', }