|
|
@ -83,9 +83,10 @@ if (page) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const pro_base_env = { |
|
|
|
const pro_base_env = { |
|
|
|
baseUrl: 'https://ali.cdn.flyapp.dvcloud.xin', |
|
|
|
baseUrl: 'https://flyapps.cn', |
|
|
|
short_static: 'https://static.dvstorage.cn/', |
|
|
|
index_static: 'https://static.flyapps.cn/index/', |
|
|
|
index_static: 'https://static.dvcloud.xin/', |
|
|
|
baseShortUrl: 'https://flyapps.top', |
|
|
|
|
|
|
|
short_static: 'https://static.flyapps.top/short/', |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const dev_base_env = { |
|
|
|
const dev_base_env = { |
|
|
@ -135,7 +136,7 @@ module.exports = { |
|
|
|
config |
|
|
|
config |
|
|
|
.plugin('define') |
|
|
|
.plugin('define') |
|
|
|
.tap(args => { |
|
|
|
.tap(args => { |
|
|
|
args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl}); |
|
|
|
args[0]['process.env']['base_env'] = JSON.stringify({baseUrl: base_evn.baseUrl,baseShortUrl:base_evn.baseShortUrl}); |
|
|
|
return args |
|
|
|
return args |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|