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