Ben Borgers

How to disable the "x-powered-by" header in Express

March 24, 2020

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.

More blog posts

Subscribe to my newsletter for a monthly round-up of new blog posts and projects Iā€™m working on!

Twitter ↗ RSS feed ↗