1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

move from trending routes to alg param

This commit is contained in:
Rigel Kent 2021-01-27 17:15:21 +01:00 committed by Chocobozzz
parent 3da68f0a78
commit ba5d4a849c
30 changed files with 211 additions and 396 deletions

View file

@ -39,12 +39,6 @@ export interface ServerConfig {
isNSFW: boolean
defaultNSFWPolicy: NSFWPolicyType
defaultClientRoute: string
defaultTrendingRoute: string
pages: {
hot: {
enabled: boolean
}
}
customizations: {
javascript: string
css: string
@ -180,6 +174,10 @@ export interface ServerConfig {
trending: {
videos: {
intervalDays: number
algorithms: {
enabled: string[]
default: string
}
}
}