...
|
...
|
@@ -45,7 +45,7 @@ app.locals.version = pkg.version; |
|
|
|
|
|
// zookeeper
|
|
|
if (config.zookeeperServer) {
|
|
|
require('yoho-zookeeper')(config.zookeeperServer, 'pc', app.locals.pc = {});
|
|
|
require('yoho-zookeeper')(config.zookeeperServer, 'pc', app.locals.pc = {}, global.yoho.cache);
|
|
|
}
|
|
|
|
|
|
app.set('subdomain offset', 2);
|
...
|
...
|
|