...
|
...
|
@@ -50,10 +50,10 @@ const domains = { |
|
|
module.exports = {
|
|
|
app: 'h5',
|
|
|
appVersion: '6.6.0', // 调用api的版本
|
|
|
appName: 'yohobuywap-node',
|
|
|
appName: 'yohobuywap-node-activity',
|
|
|
port: 6001,
|
|
|
siteUrl: '//m.yohobuy.com',
|
|
|
assetUrl: '//activity.yoho.cn:5001/yohobuywap-node/',
|
|
|
assetUrl: '//activity.yoho.cn:5001/yohobuywap-node-activity/',
|
|
|
testCode: 'yoho4946abcdef#$%&!@',
|
|
|
domains: domains,
|
|
|
|
...
|
...
|
@@ -184,7 +184,7 @@ module.exports = { |
|
|
|
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
assetUrl: '//cdn.yoho.cn/yohobuywap-node/',
|
|
|
assetUrl: '//cdn.yoho.cn/yohobuywap-node-activity/',
|
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
ufo: 'http://ufoapi.yohoops.org/',
|
...
|
...
|
@@ -296,7 +296,7 @@ if (isProduction) { |
|
|
});
|
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
assetUrl: '//cdn.yoho.cn/yohobuywap-node/',
|
|
|
assetUrl: '//cdn.yoho.cn/yohobuywap-node-activity/',
|
|
|
domains: {
|
|
|
api: process.env.TEST_API || 'http://api-test3.dev.yohocorp.com/',
|
|
|
ufo: process.env.UFO_API || 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
|
...
|
...
|
|