repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3b8d9
)
Silence a sonar security issue
author
Jérôme Benoit
<jerome.benoit@sap.com>
Wed, 13 Apr 2022 21:43:42 +0000
(23:43 +0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/ui/httpd/start.ts
b/src/ui/httpd/start.ts
index 7ff8079a60a4e0001cf8d624dc179e13349cead0..dffb33150b836e817db79749362d33ab9106a8a2 100644
(file)
--- a/
src/ui/httpd/start.ts
+++ b/
src/ui/httpd/start.ts
@@
-10,6
+10,7
@@
const pageHeader = `
const pageFooter = '</html>';
const app = express();
+app.disable('x-powered-by');
app.get('/', (request, response) => {
response.send(