diff --git a/config/dev.env.js b/config/dev.env.js index e38ab3a..6b3a09b 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -4,6 +4,6 @@ module.exports = merge(prodEnv, { NODE_ENV: '"development"', - BASE_API: '"http://119.254.103.80:14537"', + BASE_API: '"http://139.198.17.115:20004/smartwell"', // BASE_API: '"http://192.168.0.166:14537"', }) diff --git a/config/dev.env.js b/config/dev.env.js index e38ab3a..6b3a09b 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -4,6 +4,6 @@ module.exports = merge(prodEnv, { NODE_ENV: '"development"', - BASE_API: '"http://119.254.103.80:14537"', + BASE_API: '"http://139.198.17.115:20004/smartwell"', // BASE_API: '"http://192.168.0.166:14537"', }) diff --git a/config/index.js b/config/index.js index c39d894..17b0114 100644 --- a/config/index.js +++ b/config/index.js @@ -13,14 +13,13 @@ proxyTable: {}, // 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: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, errorOverlay: true, notifyOnErrors: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- - /** * Source Maps */ diff --git a/config/dev.env.js b/config/dev.env.js index e38ab3a..6b3a09b 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -4,6 +4,6 @@ module.exports = merge(prodEnv, { NODE_ENV: '"development"', - BASE_API: '"http://119.254.103.80:14537"', + BASE_API: '"http://139.198.17.115:20004/smartwell"', // BASE_API: '"http://192.168.0.166:14537"', }) diff --git a/config/index.js b/config/index.js index c39d894..17b0114 100644 --- a/config/index.js +++ b/config/index.js @@ -13,14 +13,13 @@ proxyTable: {}, // 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: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, errorOverlay: true, notifyOnErrors: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- - /** * Source Maps */ diff --git a/config/prod.env.js b/config/prod.env.js index af31832..074d9a2 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,6 +1,6 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '"http://119.254.103.80:14537"', + BASE_API: '"http://139.198.17.115:20004/smartwell"', // BASE_API: '"http://106.74.146.218:2031"', }