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;
|
target.querySelector('.form-message').textContent = json.message;
|
||||||
|
|
||||||
if (json.redirect && json.success) {
|
if (json.redirect && json.success) {
|
||||||
setTimeout(function () {
|
window.location.href = json.redirect;
|
||||||
window.location.href = json.redirect;
|
|
||||||
}, 2000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,16 +19,6 @@ router.get('/list', (req, res, next) => {
|
||||||
'alias': `users/${res.auth.username}`,
|
'alias': `users/${res.auth.username}`,
|
||||||
'name': 'You',
|
'name': 'You',
|
||||||
'desc': 'Connect with your community'
|
'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