Skip to content

docs: fix incorrect HSTS max-age value in FAQ#79

Open
mahmoodhamdi wants to merge 1 commit intohelmetjs:mainfrom
mahmoodhamdi:docs/fix-hsts-max-age-in-faq
Open

docs: fix incorrect HSTS max-age value in FAQ#79
mahmoodhamdi wants to merge 1 commit intohelmetjs:mainfrom
mahmoodhamdi:docs/fix-hsts-max-age-in-faq

Conversation

@mahmoodhamdi
Copy link

The "You might not need Helmet" FAQ page had max-age=15552000 (180 days) for the Strict-Transport-Security header, but Helmet's actual default is max-age=31536000 (365 days).

This matches the value shown on the main reference page and in the HSTS source code (365 * 24 * 60 * 60 = 31536000).

The "You might not need Helmet" page had max-age=15552000 (180 days)
but Helmet's actual default is max-age=31536000 (365 days), as shown
in the HSTS source code and the main reference page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant