From e86d4f4212b24f9a230f82fe6e19f329a8ba2fcf Mon Sep 17 00:00:00 2001 From: biglyderv Date: Mon, 26 May 2025 14:59:28 -0400 Subject: [PATCH] remove featured hubs, change timeout --- public/index.js | 4 +--- routes/walls.js | 10 ---------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/public/index.js b/public/index.js index 422d879..919dbff 100644 --- a/public/index.js +++ b/public/index.js @@ -20,9 +20,7 @@ async function formClick(ev) { target.querySelector('.form-message').textContent = json.message; if (json.redirect && json.success) { - setTimeout(function () { - window.location.href = json.redirect; - }, 2000); + window.location.href = json.redirect; } } diff --git a/routes/walls.js b/routes/walls.js index 17fa416..388641f 100644 --- a/routes/walls.js +++ b/routes/walls.js @@ -19,16 +19,6 @@ router.get('/list', (req, res, next) => { 'alias': `users/${res.auth.username}`, 'name': 'You', 'desc': 'Connect with your community' - }, - { - 'alias': `hub/nilgrinder`, - 'name': 'Nilgrinder', - 'desc': 'Idle game: build to everything from nothing' - }, - { - 'alias': `hub/minecraft`, - 'name': 'Minecraft', - 'desc': 'Experimental Minecraft server' } ] }