Add isLive DB index

pull/6026/head
Chocobozzz 2023-10-25 15:07:36 +02:00
parent 82813e9739
commit a290fbf821
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 0 deletions

View File

@ -430,6 +430,12 @@ export type ForAPIOptions = {
nsfw: true
}
},
{
fields: [ 'isLive' ], // Most of the videos are VOD
where: {
isLive: true
}
},
{
fields: [ 'remote' ], // Only index local videos
where: {