diff --git a/examples/websocket/priv/index.html b/examples/websocket/priv/index.html index 5bc7f156..56f36b24 100644 --- a/examples/websocket/priv/index.html +++ b/examples/websocket/priv/index.html @@ -9,6 +9,7 @@ $(document).ready(init); function init() { + $('#server').val("ws://" + window.location.host + "/websocket"); if(!("WebSocket" in window)){ $('#status').append('
websockets are not supported
'); $("#navigation").hide(); @@ -92,7 +93,7 @@