1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Add admin config wizard

This commit is contained in:
Chocobozzz 2025-06-05 15:42:15 +02:00
parent a6b89bde2b
commit eb11e5793f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
96 changed files with 2609 additions and 616 deletions

View file

@ -508,6 +508,26 @@ function customConfig (): CustomConfig {
},
storyboards: {
enabled: CONFIG.STORYBOARDS.ENABLED
},
defaults: {
publish: {
downloadEnabled: CONFIG.DEFAULTS.PUBLISH.DOWNLOAD_ENABLED,
commentsPolicy: CONFIG.DEFAULTS.PUBLISH.COMMENTS_POLICY,
privacy: CONFIG.DEFAULTS.PUBLISH.PRIVACY,
licence: CONFIG.DEFAULTS.PUBLISH.LICENCE
},
p2p: {
webapp: {
enabled: CONFIG.DEFAULTS.P2P.WEBAPP.ENABLED
},
embed: {
enabled: CONFIG.DEFAULTS.P2P.EMBED.ENABLED
}
},
player: {
autoPlay: CONFIG.DEFAULTS.PLAYER.AUTO_PLAY
}
}
}
}