config/index.js 区分 dev prod,fixed store.js userpage.js 等
This commit is contained in:
1 parent
ea2267598b
commit
883919244f
8 files changed
+44
-23
No files matched your search
@@ -1,5 +1,11 @@
|
||||
export const VUE_APP_API_URL = 'http://localhost:48081/app-api'
|
||||
//export const VUE_APP_API_URL = 'https://apidc.yixiang.co/app-api'
|
||||
const DEV_API_URL = 'http://localhost:48081/app-api'
|
||||
const PROD_API_URL = 'https://apidc.yixiang.co/app-api'
|
||||
|
||||
// #ifdef APP-PLUS || H5 || MP-WEIXIN
|
||||
export const VUE_APP_API_URL =
|
||||
process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL
|
||||
// #endif
|
||||
|
||||
export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static'
|
||||
export const VUE_APP_UPLOAD_URL = VUE_APP_API_URL + '/infra/file/upload'
|
||||
export const APP_ID = 'wxdbdbc123c8c30b45'
|
||||
|
||||
Reference in new issue
Block a user