Verified Commit d6506e6f authored by Aral Balkan's avatar Aral Balkan
Browse files

Fix HTTP → HTTPS redirects

parent c1cc01a0
......@@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.3 - 2020-07-10
## [2.0.4] - 2020-07-10
### Fixed
- HTTP to HTTPS redirects now start up and work as they should (they weren’t previously).
## [2.0.3] - 2020-07-10
### Changed
......
......@@ -181,7 +181,7 @@ class AutoEncrypt {
// Monkey-patch the server’s listen method so that we can start up the HTTP
// Server at the same time.
server.__autoEncrypt__originalListen = server.listen
server.__autoEncrypt__listen = function(...args) {
server.listen = function(...args) {
// Start the HTTP server.
HttpServer.getSharedInstance().then(() => {
// Start the HTTPS server.
......
{
"name": "@small-tech/auto-encrypt",
"version": "2.0.3",
"version": "2.0.4",
"description": "Adds automatic provisioning and renewal of Let’s Encrypt TLS certificates with OCSP Stapling to Node.js https servers (including Express.js, etc.)",
"keywords": [
"let's encrypt",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment