Fix route handling for HTTPS
This commit is contained in:
@@ -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) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user