From 97b96822207d8f09c28097bfea4580e8c3e0c30e Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:54:31 +1000 Subject: [PATCH] Update main.js --- public/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 0799c87..24a158e 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -10,10 +10,10 @@ function openClientPopup(ip,port,placefile,mode) { document.querySelector('.popupcontainer_client').removeAttribute('id'); if (mode == "host") { // user is hosting, use port and place file - window.location.href = "archblox://host/" + port + "|" + placefile; + window.location.href = "archblox://host/" + port + ":" + placefile; } else if (mode == "join") { // user is joining a game, use ip and port - window.location.href = "archblox://join/" + ip + "|" + port; + window.location.href = "archblox://join/" + port + ":" + ip; } else { // no information so just use the default window.location.href = "archblox://";