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