From 3e4ec97803b28decf22a51a09b7d7eddfb1b57fc Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 23 Jul 2025 09:19:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/config/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index eb83e20..903d8b2 100644 --- a/config/index.js +++ b/config/index.js @@ -36,7 +36,7 @@ module.exports = { }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/config/index.js b/src/config/index.js index 73cd2bd..3a17034 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -5,7 +5,8 @@ export const productUrl='dj-admin'; // const baseUrl = "https://api.tianjinzhitongdaohe.com/czg/" // const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试 -const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上 +// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上 +const baseUrl = "http://192.168.1.43:1333/admin/" // php export default{ baseUrl