@@ -60,7 +60,7 @@
enableSnippets: true,
enableLiveAutocompletion: false
});
- var ws = new WebSocket('ws://localhost:8080/');
+ var ws = new WebSocket('ws://'+window.location.host+':8080/');
// ws.onopen = function() {
// };
// ws.onclose = function() {