...
|
...
|
@@ -13,6 +13,7 @@ module.exports = { |
|
|
app: 'h5',
|
|
|
port: 6001,
|
|
|
siteUrl: '//m.yohobuy.com',
|
|
|
assetUrl: '//localhost:5001',
|
|
|
domains: {
|
|
|
// api: 'http://devapi.yoho.cn:58078/',
|
|
|
// service: 'http://devservice.yoho.cn:58077/'
|
...
|
...
|
@@ -88,6 +89,7 @@ module.exports = { |
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com',
|
|
|
assetUrl: '//cdn.yoho.cn/m-yohobuy-node/assets',
|
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
...
|
...
|
@@ -117,6 +119,7 @@ if (isProduction) { |
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com for test',
|
|
|
assetUrl: '//cdn.yoho.cn/m-yohobuy-node/assets',
|
|
|
domains: {
|
|
|
api: 'http://api-test3.yohops.com:9999/',
|
|
|
service: 'http://service-test3.yohops.com:9999/',
|
...
|
...
|
|