...
|
...
|
@@ -21,8 +21,7 @@ const domains = { |
|
|
// singleApi: 'http://single.yoho.cn/',
|
|
|
|
|
|
imSocket: 'ws://socket.yohobuy.com:10240',
|
|
|
imCs: 'https://im.yohobuy.com/api',
|
|
|
imServer: 'https://im.yohobuy.com/server'
|
|
|
imCs: 'http://im.yohobuy.com/api'
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
...
|
...
|
@@ -120,8 +119,7 @@ if (isProduction) { |
|
|
liveApi: 'http://api.live.yoho.cn/',
|
|
|
singleApi: 'http://single.yoho.cn/',
|
|
|
imSocket: 'wss://imsocket.yohobuy.com:443',
|
|
|
imCs: 'https://imhttp.yohobuy.com/api',
|
|
|
imServer: 'https://imhttp.yohobuy.com/server'
|
|
|
imCs: 'https://imhttp.yohobuy.com/api'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
|
...
|
...
|
@@ -169,8 +167,7 @@ if (isProduction) { |
|
|
liveApi: process.env.TEST_LIVE || 'http://testapi.live.yohops.com:9999/',
|
|
|
singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/',
|
|
|
imSocket: process.env.TEST_IM_SOCKET || 'ws://socket.yohobuy.com:10240',
|
|
|
imCs: process.env.TEST_IM_CS || 'http://im.yohobuy.com/api',
|
|
|
imServer: process.env.TEST_IM_SERVER || 'http://im.yohobuy.com/server'
|
|
|
imCs: process.env.TEST_IM_CS || 'http://im.yohobuy.com/api'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['127.0.0.1:12111'],
|
...
|
...
|
|