diff options
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 95b069533..7fd77f3e8 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -191,7 +191,11 @@ const CONFIG = { | |||
191 | IMPORT: { | 191 | IMPORT: { |
192 | VIDEOS: { | 192 | VIDEOS: { |
193 | HTTP: { | 193 | HTTP: { |
194 | get ENABLED () { return config.get<boolean>('import.videos.http.enabled') } | 194 | get ENABLED () { return config.get<boolean>('import.videos.http.enabled') }, |
195 | PROXY: { | ||
196 | get ENABLED () { return config.get<boolean>('import.videos.http.proxy.enabled') }, | ||
197 | get URL () { return config.get<string>('import.videos.http.proxy.url') } | ||
198 | } | ||
195 | }, | 199 | }, |
196 | TORRENT: { | 200 | TORRENT: { |
197 | get ENABLED () { return config.get<boolean>('import.videos.torrent.enabled') } | 201 | get ENABLED () { return config.get<boolean>('import.videos.torrent.enabled') } |