X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fserver%2Fconfig.ts;h=eb06a151606fcfd048e9384abae0b9629a2c5373;hb=5fb2e2888ce032c638e4b75d07458642f0833e52;hp=66e0a008ec656cc0b89343fecc0f1b7b7b41de0d;hpb=8ae03c37181822617418d1fc372982b245ac0a9a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index 66e0a008e..eb06a1516 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts @@ -60,6 +60,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti administrator: 'Kuja', maintenanceLifetime: 'forever', businessModel: 'my super business model', + hardwareInformation: '2vCore 3GB RAM', languages: [ 'en', 'es' ], categories: [ 1, 2 ], @@ -110,6 +111,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti allowAudioFiles: true, threads: 1, resolutions: { + '0p': false, '240p': false, '360p': true, '480p': true, @@ -117,6 +119,9 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti '1080p': false, '2160p': false }, + webtorrent: { + enabled: true + }, hls: { enabled: false } @@ -150,10 +155,28 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti enabled: false }, autoFollowIndex: { - indexUrl: 'https://instances.joinpeertube.org', + indexUrl: 'https://instances.joinpeertube.org/api/v1/instances/hosts', enabled: false } } + }, + broadcastMessage: { + enabled: true, + level: 'warning', + message: 'hello', + dismissable: true + }, + search: { + remoteUri: { + users: true, + anonymous: true + }, + searchIndex: { + enabled: true, + url: 'https://search.joinpeertube.org', + disableLocalSearch: true, + isDefaultSearch: true + } } }