Remove dumb initialization

This commit is contained in:
Daniel García Aubert 2019-10-01 14:37:46 +02:00
parent 9c1a1611d5
commit f9c467a628

View File

@ -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);