aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-18 14:11:15 +0100
committerChocobozzz <me@florianbigard.com>2020-11-18 14:11:15 +0100
commite0409585a744ab7b41869bc08bfb2b33febe3bba (patch)
treef43718d68fa7adaad65c846af1fc9b280829b7a1 /server/initializers/config.ts
parent677012b4ee53e5099e8c90445616644e1a6af9ef (diff)
downloadPeerTube-e0409585a744ab7b41869bc08bfb2b33febe3bba.tar.gz
PeerTube-e0409585a744ab7b41869bc08bfb2b33febe3bba.tar.zst
PeerTube-e0409585a744ab7b41869bc08bfb2b33febe3bba.zip
Fix youtube-dl ipv4 PR
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index d1bbbc9a7..705223b0a 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -229,9 +229,7 @@ const CONFIG = {
229 VIDEOS: { 229 VIDEOS: {
230 HTTP: { 230 HTTP: {
231 get ENABLED () { return config.get<boolean>('import.videos.http.enabled') }, 231 get ENABLED () { return config.get<boolean>('import.videos.http.enabled') },
232 FORCEIPV4: { 232 get FORCE_IPV4 () { return config.get<boolean>('import.videos.http.force_ipv4') },
233 get ENABLED () { return config.get<boolean>('import.videos.http.forceipv4.enabled') }
234 },
235 PROXY: { 233 PROXY: {
236 get ENABLED () { return config.get<boolean>('import.videos.http.proxy.enabled') }, 234 get ENABLED () { return config.get<boolean>('import.videos.http.proxy.enabled') },
237 get URL () { return config.get<string>('import.videos.http.proxy.url') } 235 get URL () { return config.get<string>('import.videos.http.proxy.url') }