How to disable the "x-powered-by" header in Express
Express generates a header to your responses that says x-powered-by: Express
.
If you want to clean up your headers, just add:
app.disable("x-powered-by");
at the top of your javascript file.
Express generates a header to your responses that says x-powered-by: Express
.
If you want to clean up your headers, just add:
app.disable("x-powered-by");
at the top of your javascript file.