Skip to content

Commit 98802b3

Browse files
committedJan 5, 2017
Add note about placing Helmet early in the middleware stack
Closes #144.
1 parent 5e6f31f commit 98802b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ app.use(helmet())
2626
// ...
2727
```
2828

29+
It's best to `use` Helmet early in your middleware stack so that its headers are sure to be set.
30+
2931
You can also use its pieces individually:
3032

3133
```js

0 commit comments

Comments
 (0)
Please sign in to comment.