aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-04 03:46:34 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-04 03:46:34 +0300
commitd26ef04bcccc9917b7524548a27cfa189d65d5d0 (patch)
treeb16a2caad27ef7b448d795c3c4910ed6011d8a8b /api
parentf8eb78b14cb12b8e8842276c03130694675bdc1e (diff)
downloadarching-kaos-tools-d26ef04bcccc9917b7524548a27cfa189d65d5d0.tar.gz
arching-kaos-tools-d26ef04bcccc9917b7524548a27cfa189d65d5d0.tar.bz2
arching-kaos-tools-d26ef04bcccc9917b7524548a27cfa189d65d5d0.zip
Less exposure
Diffstat (limited to 'api')
-rwxr-xr-xapi/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/index.js b/api/index.js
index 76431eb..33f3402 100755
--- a/api/index.js
+++ b/api/index.js
@@ -43,6 +43,7 @@ const cookieParser = require('cookie-parser');
// We start our server ...
const app = express();
+app.disable('x-powered-by');
// Set logger format output
app.use(logger('combined'));