mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
clean up
This commit is contained in:
parent
3efd03800d
commit
ed2ddd2cca
1 changed files with 1 additions and 2 deletions
|
@ -527,8 +527,7 @@ router.get('/streaming', async ctx => {
|
|||
router.get('(.*)', async ctx => {
|
||||
const meta = await fetchMeta();
|
||||
let motd = ['Loading...'];
|
||||
// Check if meta.MOTD exists and is at least 1 in length
|
||||
if (meta.customMOTD && meta.customMOTD.length > 0) {
|
||||
if (meta.customMOTD.length > 0) {
|
||||
motd = meta.customMOTD;
|
||||
}
|
||||
await ctx.render('base', {
|
||||
|
|
Loading…
Reference in a new issue