...
|
...
|
@@ -14,7 +14,7 @@ module.exports = { |
|
|
app: 'h5',
|
|
|
appVersion: '5.8.0', // 调用api的版本
|
|
|
port: 6006,
|
|
|
assetUrl: '//127.0.0.1:5001',
|
|
|
assetUrl: `/yoho-activity-platform/${pkg.version}/`,
|
|
|
domains: {
|
|
|
api: 'http://api-test3.yohops.com:9999/',
|
|
|
service: 'http://service-test3.yohops.com:9999/',
|
...
|
...
|
@@ -75,7 +75,7 @@ module.exports = { |
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com',
|
|
|
assetUrl: `//cdn.yoho.cn/yoho-activity-platform/${pkg.version}/`,
|
|
|
assetUrl: `/yoho-activity-platform/${pkg.version}/`,
|
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
...
|
...
|
@@ -113,7 +113,7 @@ if (isProduction) { |
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com for test',
|
|
|
assetUrl: `//cdn.yoho.cn/yoho-activity-platform/${pkg.version}/`,
|
|
|
assetUrl: `/yoho-activity-platform/${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/',
|
...
|
...
|
|