diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-15 15:06:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-25 10:59:43 +0100 |
commit | d7a25329f9e607894d29ab342b9cb66638b56dc0 (patch) | |
tree | 6cd6bc4f2689f78944238b313c93427423a932ac /server/initializers/config.ts | |
parent | 14981d7331da3f63fe6cfaf020ccb7c910006eaf (diff) | |
download | PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.tar.gz PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.tar.zst PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.zip |
Add ability to disable webtorrent
In favour of HLS
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 164d714d6..6d5d55487 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -177,6 +177,9 @@ const CONFIG = { | |||
177 | }, | 177 | }, |
178 | HLS: { | 178 | HLS: { |
179 | get ENABLED () { return config.get<boolean>('transcoding.hls.enabled') } | 179 | get ENABLED () { return config.get<boolean>('transcoding.hls.enabled') } |
180 | }, | ||
181 | WEBTORRENT: { | ||
182 | get ENABLED () { return config.get<boolean>('transcoding.webtorrent.enabled') } | ||
180 | } | 183 | } |
181 | }, | 184 | }, |
182 | IMPORT: { | 185 | IMPORT: { |