diff --git a/webterm.js b/webterm.js index f4e4f5e..2b91fc4 100644 --- a/webterm.js +++ b/webterm.js @@ -1,5 +1,5 @@ var containers = document.getElementsByClassName('terminaljs'), - socket = io('http://127.0.0.1:3000/pty'), term, stream; + socket = io('/pty'), term, stream; // Workaround exception on send. See https://github.com/nkzawa/socket.io-stream/issues/87. ss.forceBase64 = true;