Skip to content

Commit

Permalink
Tweak X-Powered-By documentation
Browse files Browse the repository at this point in the history
See [#353][0] for discussion.

[0]: #353
  • Loading branch information
EvanHahn committed Jan 31, 2022
1 parent 30b39ca commit dbcf9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -579,7 +579,7 @@ You can install this module separately as `helmet-crossdomain`.

This middleware takes no options.

If you're using Express, this middleware will work, but you should use `app.disable("x-powered-by")` instead.
Note: [Express has a built-in way to disable the `X-Powered-By` header](https://stackoverflow.com/a/12484642/804100), which you may wish to use instead of this middleware.

Examples:

Expand Down

0 comments on commit dbcf9c4

Please sign in to comment.