Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict transport security middleware error #464

Merged

Conversation

sohrb
Copy link

@sohrb sohrb commented Apr 28, 2024

Issue #462

  • Replace console.warn with throw new Error
  • Update tests to expect error to be thrown rather than the console to warn

@EvanHahn EvanHahn merged commit 2ccdab6 into helmetjs:v8.0.0 Apr 28, 2024
EvanHahn pushed a commit that referenced this pull request Apr 28, 2024
@sohrb sohrb deleted the strict-transport-security-middleware-error branch May 1, 2024 20:22
EvanHahn pushed a commit that referenced this pull request May 25, 2024
EvanHahn pushed a commit that referenced this pull request Jun 1, 2024
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.

None yet

2 participants