removing default error log value
This commit is contained in:
parent
15428979d1
commit
c478e8e62e
@ -100,12 +100,6 @@ function App(statsClient) {
|
|||||||
app.use(global.log4js.connectLogger(global.log4js.getLogger(), _.defaults(loggerOpts, {level:'info'})));
|
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());
|
app.use(cors());
|
||||||
|
|
||||||
// Use step-profiler
|
// Use step-profiler
|
||||||
|
Loading…
Reference in New Issue
Block a user