From 5d08a6a74e83f2e4dfe2f3ba7f5a39371e1bc89e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Aug 2018 11:10:31 +0200 Subject: Add import http enabled configuration --- config/default.yaml | 2 +- config/production.yaml.example | 6 ++++++ config/test.yaml | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 722b33db3..5fa7e5945 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -96,7 +96,7 @@ import: # Add ability for your users to import remote videos (from YouTube, torrent...) videos: http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html - enabled: true + enabled: false instance: name: 'PeerTube' diff --git a/config/production.yaml.example b/config/production.yaml.example index 6087e78be..635a41e9e 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -106,6 +106,12 @@ transcoding: 720p: false 1080p: false +import: + # Add ability for your users to import remote videos (from YouTube, torrent...) + videos: + http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html + enabled: false + # Instance settings instance: name: 'PeerTube' diff --git a/config/test.yaml b/config/test.yaml index ffe736b24..3c51785f2 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -40,5 +40,10 @@ transcoding: 720p: true 1080p: true +import: + videos: + http: + enabled: true + instance: default_nsfw_policy: 'display' \ No newline at end of file -- cgit v1.2.3