remove featured hubs, change timeout
This commit is contained in:
parent
c3d1a3c191
commit
e86d4f4212
2 changed files with 1 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue