From 7c81cbed515c55686ffd33c224465c625993e716 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 22 Jun 2017 22:20:05 -0600 Subject: [PATCH] Fix route handling for HTTPS --- core/servers/content/web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/servers/content/web.js b/core/servers/content/web.js index 9ec194a0..31c617e2 100644 --- a/core/servers/content/web.js +++ b/core/servers/content/web.js @@ -116,7 +116,7 @@ exports.getModule = class WebServerModule extends ServerModule { // additional options Object.assign(options, Config.contentServers.web.https.options || {} ); - this.httpsServer = https.createServer(options, this.routeRequest); + this.httpsServer = https.createServer(options, (req, resp) => this.routeRequest(req, resp) ); } }