WS host/port injection fixes #14

This commit is contained in:
Igor Shymko committed 2016-12-05 13:19:43 +02:00
1 parent c9c9bfb449
commit c415d7e4a7
2 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
(function($, undefined) {
var socket = new WebSocket("ws://localhost:7379");
var socket = new WebSocket("ws://${WS_HOST}:${WS_PORT}");
socket.onopen = function() {
console.log("Connection established.");
};