...
|
...
|
@@ -8,6 +8,7 @@ |
|
|
|
|
|
const isProduction = process.env.NODE_ENV === 'production';
|
|
|
const isTest = process.env.NODE_ENV === 'test';
|
|
|
const isUseOneapm = process.env.USE_ONEAPM === 'true';
|
|
|
|
|
|
module.exports = {
|
|
|
app: 'web',
|
...
|
...
|
@@ -99,7 +100,7 @@ if (isProduction) { |
|
|
session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
|
|
|
timeout: 3000
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useOneapm: isUseOneapm,
|
|
|
useCache: true,
|
|
|
pay: {
|
|
|
serviceNotify: 'http://service.yoho.cn/'
|
...
|
...
|
@@ -110,8 +111,8 @@ if (isProduction) { |
|
|
appName: 'www.yohoblk.com for test',
|
|
|
domains: {
|
|
|
singleApi: 'http://192.168.102.31:8092/brower',
|
|
|
api: 'http://testapi.yoho.cn:28078/',
|
|
|
service: 'http://testservice.yoho.cn:28077/',
|
|
|
api: process.env.TEST_API || 'http://testapi.yoho.cn:28078/',
|
|
|
service: process.env.TEST_SERVICE || 'http://testservice.yoho.cn:28077/',
|
|
|
search: 'http://192.168.102.216:8080/yohosearch/'
|
|
|
},
|
|
|
useOneapm: true,
|
...
|
...
|
|