diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 9d1d72cf5..9def60b99 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -96,6 +96,8 @@ class Server { this.app[apiCall.method].apply(this.app, [apiCall.endpoint, this.applyAPIFunction.bind(this, apiCall.cb)]); } } + + this.app.ws('/', () => {}); const wss = expressWs.getWss('/'); self.events.on('outputDone', () => {