1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add ability to disable tracker

This commit is contained in:
Chocobozzz 2019-04-10 09:23:18 +02:00
parent 22834691ab
commit 31b6ddf866
No known key found for this signature in database
GPG key ID: 583A612D890159BE
16 changed files with 123 additions and 29 deletions

View file

@ -1,7 +1,6 @@
import { Component, OnInit } from '@angular/core'
import { ServerService } from '@app/core'
import { I18n } from '@ngx-translate/i18n-polyfill'
import { ServerConfig } from '../../../../../shared'
@Component({
selector: 'my-instance-features-table',
@ -65,6 +64,10 @@ export class InstanceFeaturesTableComponent implements OnInit {
{
label: this.i18n('Torrent import'),
value: config.import.videos.torrent.enabled
},
{
label: this.i18n('P2P enabled'),
value: config.tracker.enabled
}
]
}