diff --git a/config/dev.env.js b/config/dev.env.js index 9b23a72..fcc970d 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -9,8 +9,10 @@ // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' - BASE_API: '"http://10.18.0.23:8083/callcenter/api"' - // BASE_API: '"http://139.198.16.38:20005"' - // BASE_API: '"http://192.168.0.225:8083"' + // BASE_API: '"http://10.18.0.23:8083/callcenter/api"' + BASE_API: '"http://139.198.16.38:20007"' + // BASE_API: '"http://192.168.0.123:20007"' + // BASE_API: '"http://192.168.2.107:20007"' + // BASE_API: '"http://192.170.1.102:8093"' // BASE_API: '"http://127.0.0.1:8083"' }) diff --git a/config/dev.env.js b/config/dev.env.js index 9b23a72..fcc970d 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -9,8 +9,10 @@ // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' - BASE_API: '"http://10.18.0.23:8083/callcenter/api"' - // BASE_API: '"http://139.198.16.38:20005"' - // BASE_API: '"http://192.168.0.225:8083"' + // BASE_API: '"http://10.18.0.23:8083/callcenter/api"' + BASE_API: '"http://139.198.16.38:20007"' + // BASE_API: '"http://192.168.0.123:20007"' + // BASE_API: '"http://192.168.2.107:20007"' + // BASE_API: '"http://192.170.1.102:8093"' // BASE_API: '"http://127.0.0.1:8083"' }) diff --git a/config/index.js b/config/index.js index e4f27b9..e2feec2 100644 --- a/config/index.js +++ b/config/index.js @@ -22,7 +22,7 @@ // }, // after: require('./../mock/mock-server.js'), // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined //是否自动打开浏览器 autoOpenBrowser: true, diff --git a/config/dev.env.js b/config/dev.env.js index 9b23a72..fcc970d 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -9,8 +9,10 @@ // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"', // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' - BASE_API: '"http://10.18.0.23:8083/callcenter/api"' - // BASE_API: '"http://139.198.16.38:20005"' - // BASE_API: '"http://192.168.0.225:8083"' + // BASE_API: '"http://10.18.0.23:8083/callcenter/api"' + BASE_API: '"http://139.198.16.38:20007"' + // BASE_API: '"http://192.168.0.123:20007"' + // BASE_API: '"http://192.168.2.107:20007"' + // BASE_API: '"http://192.170.1.102:8093"' // BASE_API: '"http://127.0.0.1:8083"' }) diff --git a/config/index.js b/config/index.js index e4f27b9..e2feec2 100644 --- a/config/index.js +++ b/config/index.js @@ -22,7 +22,7 @@ // }, // after: require('./../mock/mock-server.js'), // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined //是否自动打开浏览器 autoOpenBrowser: true, diff --git a/config/prod.env.js b/config/prod.env.js index 3fa0587..9ba8ed4 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -2,6 +2,8 @@ module.exports = { NODE_ENV: '"production"', // BASE_API: '"http://119.254.103.80:14537"', - BASE_API: '"http://10.18.0.23:8083/callcenter/api"' + // BASE_API: '"http://10.18.0.23:8083/callcenter/api"' + // BASE_API: '"http://10.18.0.23:8084/callcenter/api"' + BASE_API: '"http://139.198.16.38:20007"' // BASE_API: '"http://192.168.8.201:8083"' }