diff --git a/lib/modules/webserver/backend/index.html b/lib/modules/webserver/backend/index.html index 43288c26..3deda358 100644 --- a/lib/modules/webserver/backend/index.html +++ b/lib/modules/webserver/backend/index.html @@ -1,29 +1,22 @@ Welcome to Embark! diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 6cf7775a..5fafb6de 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -69,8 +69,7 @@ class Server { this.app.ws('/logs', function(ws, req) { self.events.on("log", function(logLevel, logMsg) { - console.dir("got message " + logMsg); - ws.send(logMsg); + ws.send(logMsg.stripColors); }); ws.on('message', function(msg) { console.dir("got message");