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:
parent
3da68f0a78
commit
ba5d4a849c
30 changed files with 211 additions and 396 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue