mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 05:07:46 +00:00
feat: don't show queued or quarantined miis on sitemap
This commit is contained in:
parent
77828653ba
commit
f23602a45c
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
|
|||
id: true,
|
||||
createdAt: true,
|
||||
},
|
||||
where: {
|
||||
in_queue: false,
|
||||
quarantined: false,
|
||||
},
|
||||
});
|
||||
|
||||
const users = await prisma.user.findMany({
|
||||
|
|
|
|||
Loading…
Reference in a new issue