diff --git a/frontend/tty-receiver/main.js b/frontend/tty-receiver/main.js index 369f231..4f2c3b4 100644 --- a/frontend/tty-receiver/main.js +++ b/frontend/tty-receiver/main.js @@ -38,7 +38,7 @@ term.write("$"); connection.onclose = function(evt) { console.log("Got the WS closed: ", evt); - term.write("disconnected"); + window.location.reload(); } connection.onmessage = function(evt) {