This commit is contained in:
ThatOneCalculator 2022-07-27 09:47:29 -07:00
parent 4d22797624
commit 4a7166625f
1 changed files with 1 additions and 2 deletions

View File

@ -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', {