Pass logger to webserver

This commit is contained in:
Andre Medeiros 2018-10-02 17:19:21 -04:00 committed by Pascal Precht
parent 801514c52b
commit 1f7e434632
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 1 deletions

View File

@ -27,13 +27,13 @@ class WebServer {
this.enableCatchAll = false; // FIXME when true, some Requests end up failing (eg: process-logs)
this.events.emit("status", __("Starting Server"));
this.server = new Server({logger: this.logger, host: this.host, port: this.port, events: this.events, plugins: this.plugins, enableCatchAll: this.enableCatchAll});
this.server = new Server({
logger: this.logger,
buildDir: this.buildDir,
events: this.events,
host: this.host,
logger: this.logger,
port: this.port,
plugins: this.plugins,
openBrowser: this.webServerConfig.openBrowser