spirit2020 3 years ago
parent
commit
82ab6a4443
  1. 4
      app.config.js

4
app.config.js

@ -1,4 +1,6 @@
const BASE_URL = 'http://baidu.com'
const DEV_HOST = ''
const PROD_HOST = ''
const BASE_URL = process.env.NODE_ENV == 'development' ? DEV_HOST : PROD_HOST
export default { export default {
BASE_URL BASE_URL

Loading…
Cancel
Save