Authored by 毕凯

Merge branch 'hotfix/cdnpath' into 'master'

cdn-path-change



See merge request !1094
... ... @@ -134,7 +134,7 @@ module.exports = {
if (isProduction) {
Object.assign(module.exports, {
appName: 'm.yohobuy.com',
assetUrl: `//cdn.yoho.cn/m-yohobuy-node/${pkg.version}/`,
assetUrl: `//cdn.yoho.cn/yohobuywap-node/${pkg.version}/`,
domains: {
api: 'http://api.yoho.yohoops.org/',
service: 'http://api.yoho.yohoops.org/',
... ... @@ -221,7 +221,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}/`,
assetUrl: `//cdn.yoho.cn/yohobuywap-node/${pkg.version}/`,
domains: {
api: process.env.TEST_API || 'http://api-test1.yohops.com:9999/',
service: process.env.TEST_API || 'http://api-test1.yohops.com:9999/',
... ...