Browse Source

config.js中的API配置,新增test环境并更新prod环境的baseUrl,以便更好地支持不同环境的API调用。

fox
前端-胡立永 1 month ago
parent
commit
8c70412957
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      config.js

+ 4
- 1
config.js View File

@ -16,8 +16,11 @@ const config = {
dev : {
baseUrl : 'http://h5.xzaiyp.top/fission-star-api',
},
prod : {
test : {
baseUrl : 'https://fission-star-api.hhlm1688.com/fission-star-api',
},
prod : {
baseUrl : 'https://www.liebianxing.site/lbx-api',
}
}


Loading…
Cancel
Save