Fix route handling for HTTPS
This commit is contained in:
parent
64aa63e8b5
commit
7c81cbed51
|
@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue