From fcd2948d5f95fac456b96908d19c624e7f5f4d8b Mon Sep 17 00:00:00 2001 From: Samuel Lucidi Date: Mon, 13 Nov 2023 13:46:30 -0500 Subject: [PATCH] :seedling: Disable "X-Powered-By: Express" header (#1537) Fixes https://issues.redhat.com/browse/MTA-1649 Signed-off-by: Sam Lucidi --- server/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/index.js b/server/src/index.js index 895c4504d5..44081efc1a 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -23,6 +23,7 @@ const brandType = KONVEYOR_ENV.PROFILE; const port = parseInt(KONVEYOR_ENV.PORT, 10) || 8080; const app = express(); +app.set("x-powered-by", false); app.use(cookieParser()); // Setup proxy handling