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) ); } }