Skip to content

Releases: unjs/redirect-ssl

v2.0.0

31 May 13:23
@pi0 pi0
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • xForwardedProto option renamed to trustProxy (1c8cb3d)
  • redirect option changed to enabled and the default value is always true (f06e398)
  • there might be behavior changes for express-like frameworks

Features

  • rewrite to typescript (d8460a7)
  • write redirectURL to response (763165b)
  • update is-https to 2.x (d4267e7)

Bug Fixes

  • fix types and redirectURL with non standard port (e728797)