From 11b1697d746f30395f1a72d9aa5f8b26cb13c7be Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 16 Aug 2018 20:50:50 -0600 Subject: [PATCH] v1.1.6: don't be so insensitive --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c8140af..9e2bbee 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ module.exports = function (opts) { opts.port = 443; } if (!('body' in opts)) { - opts.body = ""; } opts.body = opts.body.replace(/{{\s+PORT\s+}}/ig, opts.port); diff --git a/package.json b/package.json index 60906c4..aece0ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redirect-https", - "version": "1.1.5", + "version": "1.1.6", "description": "Redirect from HTTP to HTTPS using meta redirects", "main": "index.js", "scripts": {