1
0
Fork 0
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:
Chocobozzz 2023-12-27 10:39:09 +01:00
parent 482223cc23
commit b9077c83fc
No known key found for this signature in database
GPG key ID: 583A612D890159BE
23 changed files with 131 additions and 60 deletions

View file

@ -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 () {