diff --git a/.env.production b/.env.production index 241c1c7..9ffa116 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ # process.env.TARO_API_API="https://api.nomadcna.com" -process.env.TARO_API_API="http://api.hackrobot.cn" +process.env.TARO_API_API="https://api.hackrobot.cn" diff --git a/config/prod.js b/config/prod.js index 0192be3..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("http://api.hackrobot.cn") + 'process.env.TARO_API_API': JSON.stringify("https://api.hackrobot.cn") }, mini: {}, h5: {