missing file

This commit is contained in:
Admin
2022-01-06 03:25:50 +00:00
committed by Gitee
parent 2c52684c1f
commit f0b4c7b728
2 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/**
* 配置编译环境和线上环境之间的切换
* baseUrl: 域名地址
* routerMode: 路由模式
* imgBaseUrl: 图片所在域名地址
*/
let baseUrl = 'http://47.96.75.242:10086/royalcanin/royalcanin/'
if (process.env.NODE_ENV === 'development') {
baseUrl = 'http://47.96.75.242:10086/royalcanin/royalcanin/';
} else if (process.env.NODE_ENV === 'production') {
baseUrl = 'http://47.96.75.242:10086/royalcanin/royalcanin/';
}
export {
baseUrl,
}