Skip to content

Commit

Permalink
fix(example-lb3-application): remove deprecation warning
Browse files Browse the repository at this point in the history
Fix configuration of Helmet middleware to remove the following warning:

  hsts deprecated The "includeSubdomains" parameter is deprecated.
  Use "includeSubDomains" (with a capital D) instead.
  • Loading branch information
bajtos committed May 20, 2019
1 parent d57f272 commit a24e7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lb3-application/lb3app/server/middleware.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"helmet#hsts": {
"params": {
"maxAge": 0,
"includeSubdomains": true
"includeSubDomains": true
}
},
"helmet#hidePoweredBy": {},
Expand Down

0 comments on commit a24e7c0

Please sign in to comment.