Skip to content

Commit

Permalink
feat: 接口修改
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-astar committed Jul 6, 2021
1 parent 909c22e commit da1f56b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* @Description:
* @Author: astar
* @Date: 2021-06-26 18:16:11
* @LastEditTime: 2021-06-29 00:07:36
* @LastEditTime: 2021-07-06 17:13:01
* @LastEditors: astar
*/
let baseURL = ''
if (process.env.NODE_ENV === 'development') {
baseURL = 'https://192.168.0.102:3001'
baseURL = 'https://192.168.0.102:3001/api'
} else {
baseURL = '//hello-astar.asia'
baseURL = '//hello-astar.asia/api'
}
export default baseURL

0 comments on commit da1f56b

Please sign in to comment.