Skip to content

Commit 5e4a1e7

Browse files
authored
fix 127.0.0.1 only
Gottox#9
1 parent c55a9d5 commit 5e4a1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webterm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var containers = document.getElementsByClassName('terminaljs'),
2-
socket = io('http://127.0.0.1:3000/pty'), term, stream;
2+
socket = io('/pty'), term, stream;
33

44
// Workaround exception on send. See https://github.com/nkzawa/socket.io-stream/issues/87.
55
ss.forceBase64 = true;

0 commit comments

Comments
 (0)