|
|
|
@ -87,6 +87,7 @@ const pro_base_env = { |
|
|
|
|
index_static: 'https://static.flyapps.cn/index/', |
|
|
|
|
baseShortUrl: 'https://flyapps.top', |
|
|
|
|
short_static: 'https://static.flyapps.top/short/', |
|
|
|
|
version: '1.2.5', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const dev_base_env = { |
|
|
|
@ -94,6 +95,7 @@ const dev_base_env = { |
|
|
|
|
baseShortUrl: 'https://app.hehelucky.cn', |
|
|
|
|
short_static: '/', |
|
|
|
|
index_static: '/', |
|
|
|
|
version: '1.2.5', |
|
|
|
|
}; |
|
|
|
|
let base_evn = dev_base_env; |
|
|
|
|
|
|
|
|
@ -137,7 +139,7 @@ module.exports = { |
|
|
|
|
config |
|
|
|
|
.plugin('define') |
|
|
|
|
.tap(args => { |
|
|
|
|
args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl,baseShortUrl:base_evn.baseShortUrl}); |
|
|
|
|
args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl,baseShortUrl:base_evn.baseShortUrl,version:base_evn.version}); |
|
|
|
|
return args |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|