diff --git a/public/sample/index.js b/public/sample/index.js index 8d74748..4b74cfe 100644 --- a/public/sample/index.js +++ b/public/sample/index.js @@ -83,6 +83,7 @@ $(document).ready(function() { var top = new Layer(); // new Layer() will be automatically activated at the moment. //networking - socket.io + //N.B.: auto-detecting hostname, assuming websocket server is running @ root of the host var socket = io(window.location.protocol + "//" + window.location.host); //net. connection marker