aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorMark Van den Borre <mark+github@markvdb.be>2020-11-18 14:06:20 +0100
committerGitHub <noreply@github.com>2020-11-18 14:06:20 +0100
commit677012b4ee53e5099e8c90445616644e1a6af9ef (patch)
tree6743722314720bf011ec7907bb30768fe46f0aa1 /server/initializers/config.ts
parent7f88a58e3f8582431978ffff2e2beddadae6e358 (diff)
downloadPeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.tar.gz
PeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.tar.zst
PeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.zip
default youtube-dl to use ipv4 (#3311)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index b70361aa9..d1bbbc9a7 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -229,6 +229,9 @@ 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: {
233 get ENABLED () { return config.get<boolean>('import.videos.http.forceipv4.enabled') }
234 },
232 PROXY: { 235 PROXY: {
233 get ENABLED () { return config.get<boolean>('import.videos.http.proxy.enabled') }, 236 get ENABLED () { return config.get<boolean>('import.videos.http.proxy.enabled') },
234 get URL () { return config.get<string>('import.videos.http.proxy.url') } 237 get URL () { return config.get<string>('import.videos.http.proxy.url') }