diff --git a/packages/backend/src/server/web/index.ts b/packages/backend/src/server/web/index.ts index 8dedae5b3..c81506384 100644 --- a/packages/backend/src/server/web/index.ts +++ b/packages/backend/src/server/web/index.ts @@ -534,7 +534,7 @@ router.get('(.*)', async ctx => { icon: meta.iconUrl, splashIcon: splashIconUrl, themeColor: meta.themeColor, - randomMOTD: motd, + randomMOTD: motd[Math.floor(Math.random() * motd.length)], privateMode: meta.privateMode, }); ctx.set('Cache-Control', 'public, max-age=3');