Authored by htoooth

fix

... ... @@ -14,6 +14,7 @@ require('http').globalAgent.maxSockets = 10;
module.exports = {
app: 'web',
appName: 'yohobuy-node',
appVersion: '5.8.0', // 调用api的版本
port: 6002,
siteUrl: 'http://www.yohobuy.com',
... ... @@ -72,8 +73,8 @@ module.exports = {
index: '//yohobuy.com'
},
report: {
host: '10.66.0.139',
port: 8086,
host: 'localhost',
port: 6009,
db: 'web-apm'
},
useOneapm: false,
... ... @@ -187,7 +188,7 @@ module.exports = {
if (isProduction) {
Object.assign(module.exports, {
appName: 'www.yohobuy.com',
appName: 'yohobuy-node',
domains: {
singleApi: 'http://single.yoho.cn/',
api: 'http://api.yoho.yohoops.org/',
... ... @@ -241,14 +242,14 @@ if (isProduction) {
}
},
report: {
host: 'influxdblog.web.yohoops.org',
port: 8086,
host: 'badjs.yoho.cn',
port: 80,
db: 'web-apm'
}
});
} else if (isTest) {
Object.assign(module.exports, {
appName: 'www.yohobuy.com for test',
appName: 'yohobuy-node',
domains: {
singleApi: process.env.TEST_API || 'http://192.168.102.31:8092/brower',
api: process.env.TEST_API || 'http://testapi.yoho.cn:28078/',
... ...
... ... @@ -57,7 +57,7 @@
"urlencode": "^1.1.0",
"uuid": "^2.0.2",
"yoho-express-session": "^2.0.0",
"yoho-node-lib": "=0.5.21",
"yoho-node-lib": "=0.5.24",
"yoho-zookeeper": "^1.0.8"
},
"devDependencies": {
... ...