]> git.cworth.org Git - zombocom-ai/blobdiff - index.html
Make a socket connection from client to server
[zombocom-ai] / index.html
index 8eb3c6ac7c52d19a6ad66d8ef81286ce7f91c17a..5a74b471a44353b74de7cb0049532527be4453d1 100644 (file)
@@ -96,5 +96,10 @@ mute.addEventListener("click", () => {
     </button>
 
   </div>
+
+  <script src="/socket.io/socket.io.js"></script>
+  <script>
+    var socket = io();
+  </script>
 </body>
 </html>