X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Futils%2Fserver%2Fconfig.ts;h=deb77e9c0e1067f98a9a73a2b94711022dd3a056;hb=14893eb71cb2d4ca47e07589c81958863603aba4;hp=29c24cff97f6f18b99e2cea0ac83fdd575951cb7;hpb=28f3d1b36a70426795240c9370e47b6c4ba847f8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/utils/server/config.ts b/shared/utils/server/config.ts index 29c24cff9..deb77e9c0 100644 --- a/shared/utils/server/config.ts +++ b/shared/utils/server/config.ts @@ -52,6 +52,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) { description: 'my super description', terms: 'my super terms', defaultClientRoute: '/videos/recently-added', + isNSFW: true, defaultNSFWPolicy: 'blur', customizations: { javascript: 'alert("coucou")', @@ -111,6 +112,19 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) { enabled: false } } + }, + autoBlacklist: { + videos: { + ofUsers: { + enabled: false + } + } + }, + followers: { + instance: { + enabled: true, + manualApproval: false + } } }