From 0950df242d2c9d19e50309a7356c1c2c8c22ac3f Mon Sep 17 00:00:00 2001 From: Praveen Gupta Date: Wed, 12 Dec 2018 21:56:30 +0530 Subject: [PATCH] Fixes webserver protocol --- src/lib/modules/webserver/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/modules/webserver/index.js b/src/lib/modules/webserver/index.js index 92ca03fe3..cd1a586a6 100644 --- a/src/lib/modules/webserver/index.js +++ b/src/lib/modules/webserver/index.js @@ -22,6 +22,7 @@ class WebServer { } this.host = this.webServerConfig.host; + this.protocol = this.webServerConfig.protocol; this.port = parseInt(this.webServerConfig.port, 10); this.enableCatchAll = this.webServerConfig.enableCatchAll === true; this.enableCatchAll = false; // FIXME when true, some Requests end up failing (eg: process-logs) @@ -52,6 +53,7 @@ class WebServer { this.embark.config.webServerConfig = null; this.embark.config.loadWebServerConfigFile(); this.webServerConfig = this.embark.config.webServerConfig; + this.protocol = this.webServerConfig.protocol; this.host = this.webServerConfig.host; this.port = this.webServerConfig.port; this.server.host = this.host;