From 2bced3a0f38921a816e6ae7577784d62a91ae9b7 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sat, 18 Jul 2020 20:12:04 +0900 Subject: [PATCH] tt --- public/sample/index.js | 1 + 1 file changed, 1 insertion(+) 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