mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
fix: 🐛 motd
This commit is contained in:
parent
c8895e3f03
commit
fbaaf2640f
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user