From: Jérôme Benoit Date: Wed, 13 Apr 2022 21:43:42 +0000 (+0200) Subject: Silence a sonar security issue X-Git-Tag: v1.1.57~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7cc0b0335bd253e9b425cfd3c2e766665d70cf70;p=e-mobility-charging-stations-simulator.git Silence a sonar security issue Signed-off-by: Jérôme Benoit --- diff --git a/src/ui/httpd/start.ts b/src/ui/httpd/start.ts index 7ff8079a..dffb3315 100644 --- a/src/ui/httpd/start.ts +++ b/src/ui/httpd/start.ts @@ -10,6 +10,7 @@ const pageHeader = ` const pageFooter = ''; const app = express(); +app.disable('x-powered-by'); app.get('/', (request, response) => { response.send(