Silence a sonar security issue
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 13 Apr 2022 21:43:42 +0000 (23:43 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 13 Apr 2022 21:43:42 +0000 (23:43 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/ui/httpd/start.ts

index 7ff8079a60a4e0001cf8d624dc179e13349cead0..dffb33150b836e817db79749362d33ab9106a8a2 100644 (file)
@@ -10,6 +10,7 @@ const pageHeader = `
 const pageFooter = '</html>';
 
 const app = express();
+app.disable('x-powered-by');
 
 app.get('/', (request, response) => {
   response.send(