Add isLive DB index
This commit is contained in:
parent
82813e9739
commit
a290fbf821
|
@ -430,6 +430,12 @@ export type ForAPIOptions = {
|
||||||
nsfw: true
|
nsfw: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fields: [ 'isLive' ], // Most of the videos are VOD
|
||||||
|
where: {
|
||||||
|
isLive: true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fields: [ 'remote' ], // Only index local videos
|
fields: [ 'remote' ], // Only index local videos
|
||||||
where: {
|
where: {
|
||||||
|
|
Loading…
Reference in New Issue