diff --git a/www/src/js/cookie/start.js b/www/src/js/cookie/start.js index 46afea9..9be3e7e 100644 --- a/www/src/js/cookie/start.js +++ b/www/src/js/cookie/start.js @@ -21,9 +21,15 @@ function $message(text) { }; // connect the server to the socket +/* const socket = io("http://localhost:3000", { transports: ["websocket", "polling"], }); +*/ + +const socket = io("https://socket-hj1h.onrender.com", { + transports: ["websocket", "polling"], +}); let name = null; let code = null; @@ -154,4 +160,4 @@ $("#game_exit").on("click", () => { $("ui").hide(); $("#ranking").hide(); $("#start-screen").show(); -}); \ No newline at end of file +});