Remove dumb initialization
This commit is contained in:
parent
9c1a1611d5
commit
f9c467a628
@ -74,12 +74,6 @@ function App(statsClient) {
|
||||
mkdirp.sync(global.settings.tmpDir);
|
||||
}
|
||||
|
||||
app.use(function bootstrap$prepareRequestResponse(req, res, next) {
|
||||
res.locals = res.locals || {};
|
||||
|
||||
next();
|
||||
});
|
||||
|
||||
// Set connection timeout
|
||||
if (global.settings.hasOwnProperty('node_socket_timeout')) {
|
||||
var timeout = parseInt(global.settings.node_socket_timeout);
|
||||
|
Loading…
Reference in New Issue
Block a user