Fix route handling for HTTPS

This commit is contained in:
Bryan Ashby 2017-06-22 22:20:05 -06:00
parent 64aa63e8b5
commit 7c81cbed51
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ exports.getModule = class WebServerModule extends ServerModule {
// additional options // additional options
Object.assign(options, Config.contentServers.web.https.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) );
} }
} }