mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Add ability to disable storyboards
This commit is contained in:
parent
482223cc23
commit
b9077c83fc
23 changed files with 131 additions and 60 deletions
|
@ -610,8 +610,10 @@ const CONFIG = {
|
|||
get DISABLE_LOCAL_SEARCH () { return config.get<boolean>('search.search_index.disable_local_search') },
|
||||
get IS_DEFAULT_SEARCH () { return config.get<boolean>('search.search_index.is_default_search') }
|
||||
}
|
||||
},
|
||||
STORYBOARDS: {
|
||||
get ENABLED () { return config.get<boolean>('storyboards.enabled') }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function registerConfigChangedHandler (fun: Function) {
|
||||
|
@ -682,7 +684,7 @@ export function reloadConfig () {
|
|||
return process.env.NODE_CONFIG_DIR.split(':')
|
||||
}
|
||||
|
||||
return [ join(root(), 'config') ]
|
||||
return [join(root(), 'config')]
|
||||
}
|
||||
|
||||
function purge () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue