...
|
...
|
@@ -112,7 +112,7 @@ module.exports = { |
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com',
|
|
|
assetUrl: `//cdn.yoho.cn/m-yohobuy-node/${pkg.version}/assets/`,
|
|
|
assetUrl: `//cdn.yoho.cn/m-yohobuy-node/${pkg.version}/`,
|
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
...
|
...
|
@@ -160,7 +160,7 @@ if (isProduction) { |
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com for test',
|
|
|
assetUrl: `//cdn.yoho.cn/m-yohobuy-node/${pkg.version}/assets/`,
|
|
|
assetUrl: `//cdn.yoho.cn/m-yohobuy-node/${pkg.version}/`,
|
|
|
domains: {
|
|
|
api: process.env.TEST_API || 'http://api-test1.yohops.com:9999/',
|
|
|
service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/',
|
...
|
...
|
|