From 941dfaf03d82ea5f5bc87a91b53a66dc8c7b679c Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Sat, 11 Apr 2020 07:53:36 +0200 Subject: [PATCH] add link button in lobby --- frontend/www/games.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/www/games.ts b/frontend/www/games.ts index 2d1edf3..8e32bfe 100644 --- a/frontend/www/games.ts +++ b/frontend/www/games.ts @@ -29,7 +29,7 @@ async function on_load() { const urlVars = new URLSearchParams(window.location.search); if (urlVars.get("game") && urlVars.get("name")) { - handle(urlVars.get("game"),urlVars.get("name")) + handle("/games/"+urlVars.get("game"),urlVars.get("name")) } else if (options[0]) { const options_div = options[0]; if (options_div.children[0]) {