diff --git a/public/assets/games-page.js b/public/assets/games-page.js index f863fdf..1c8b4db 100644 --- a/public/assets/games-page.js +++ b/public/assets/games-page.js @@ -4,7 +4,7 @@ (function () { var esc = function (s) { return String(s == null ? '' : s).replace(/[&<>"']/g, function (c) { return ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c]; }); }; var ref = ''; try { ref = new URLSearchParams(location.search).get('ref') || ''; } catch (e) {} - if (ref) { var j = document.getElementById('gJoin'); if (j) j.href = '/join?ref=' + encodeURIComponent(ref); } + if (ref) { var j = document.getElementById('gJoin'); if (j) j.href = '/join/' + encodeURIComponent(ref); } // the sponsored join page itself (bare /join used to 404, Diann 2026-10-11) function card(g) { var soon = !g.live && g.opens; var ribbon = g.season ? 'Limited time ยท ends ' + esc(g.season.ends) + '' : soon ? '' + esc(g.opens) + '' : ''; diff --git a/public/games.html b/public/games.html index 8d3d4da..e2a9abb 100644 --- a/public/games.html +++ b/public/games.html @@ -78,6 +78,6 @@