From c478e8e62ec8059d103bb4b156f77dc5a8c1f458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Mart=C3=ADn?= Date: Tue, 12 Dec 2017 10:55:28 +0100 Subject: [PATCH] removing default error log value --- app/server.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/server.js b/app/server.js index 83ebcef6..4f4ecbbc 100644 --- a/app/server.js +++ b/app/server.js @@ -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