Skip to content

A local-first personal finance app

Disable Express x-powered-by Header (#248)

Dylan Myers87747a83b935
diff --git a/src/app.js b/src/app.js
index d75cb46af3..d9bbecfc3a 100644
--- a/src/app.js
+++ b/src/app.js
@@ -17,6 +17,7 @@ process.on('unhandledRejection', (reason) => {
console.log('Rejection:', reason);
});
+app.disable('x-powered-by');
app.use(cors());
app.use(
rateLimit({
diff --git a/upcoming-release-notes/248.md b/upcoming-release-notes/248.md
new file mode 100644
index 0000000000..dd97d19243
--- /dev/null
+++ b/upcoming-release-notes/248.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [dylmye]
+---
+
+Disable the Express "Powered By" HTTP header for enhanced security