diff --git a/packages/backend/src/server/web/index.ts b/packages/backend/src/server/web/index.ts index 8dedae5b3b..c81506384c 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');