diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 52ff07efa..ab8296f8d 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -76,8 +76,6 @@ class Server { this.app.use(bodyParser.json()); // support json encoded bodies this.app.use(bodyParser.urlencoded({extended: true})); // support encoded bodies - expressWebSocket(this.app); - this.app.ws('/logs', function(ws, _req) { self.events.on("log", function(logLevel, logMsg) { ws.send(JSON.stringify({msg: logMsg, msg_clear: logMsg.stripColors, logLevel: logLevel}), () => {});