diff --git a/.env.production b/.env.production index e386b51..ad26efc 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ -process.env.TARO_API_API="https://payjs.hackrobot.cn" +process.env.TARO_API_API="https://api.hackrobot.cn" # process.env.TARO_API_API="http://127.0.0.1:8700" diff --git a/config/prod.js b/config/prod.js index ae1ad4b..d0110a3 100644 --- a/config/prod.js +++ b/config/prod.js @@ -3,7 +3,7 @@ module.exports = { NODE_ENV: '"production"' }, defineConstants: { - 'process.env.TARO_API_API': JSON.stringify("https://payjs.hackrobot.cn") + 'process.env.TARO_API_API': JSON.stringify("https://api.hackrobot.cn") }, mini: {}, h5: {