removing default error log value

This commit is contained in:
Simon Martín 2017-12-12 10:55:28 +01:00
parent 15428979d1
commit c478e8e62e

View File

@ -100,12 +100,6 @@ function App(statsClient) {
app.use(global.log4js.connectLogger(global.log4js.getLogger(), _.defaults(loggerOpts, {level:'info'})));
}
// default X-SQLAPI-Errors header
app.use((req, res, next) => {
res.set('X-SQLAPI-Errors', '{}');
next();
});
app.use(cors());
// Use step-profiler