@low-systems/http-connector
Advanced tools
Comparing version
@@ -112,3 +112,3 @@ "use strict"; | ||
try { | ||
if (this.config.forceSecure && this.config.httpsOptions && input.url.protocol === 'http') { | ||
if (this.config.forceSecure && this.config.httpsOptions && input.url.protocol === 'http:') { | ||
input.url.protocol = 'https'; | ||
@@ -115,0 +115,0 @@ input.url.port = '' + this.config.httpsOptions.port; |
{ | ||
"name": "@low-systems/http-connector", | ||
"version": "1.1.25", | ||
"version": "1.1.26", | ||
"description": "A basic HTTP connector for low", | ||
@@ -45,3 +45,3 @@ "main": "lib/http-connector.js", | ||
}, | ||
"gitHead": "0eb50c1809435b0eeca3da92e14bb52cce21ca33" | ||
"gitHead": "7990ea1faa67a5cb09fbc76dcf58b05980ccb3dc" | ||
} |
@@ -105,3 +105,3 @@ import * as Http from 'http'; | ||
try { | ||
if (this.config.forceSecure && this.config.httpsOptions && input.url.protocol === 'http') { | ||
if (this.config.forceSecure && this.config.httpsOptions && input.url.protocol === 'http:') { | ||
input.url.protocol = 'https'; | ||
@@ -108,0 +108,0 @@ input.url.port = '' + this.config.httpsOptions.port; |
Sorry, the diff of this file is not supported yet
79672
0