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/constants.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/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index fd4c0fdaa..eaad84bee 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -14,7 +14,7 @@ import { CONFIG, registerConfigChangedHandler } from './config' | |||
14 | 14 | ||
15 | // --------------------------------------------------------------------------- | 15 | // --------------------------------------------------------------------------- |
16 | 16 | ||
17 | const LAST_MIGRATION_VERSION = 445 | 17 | const LAST_MIGRATION_VERSION = 450 |
18 | 18 | ||
19 | // --------------------------------------------------------------------------- | 19 | // --------------------------------------------------------------------------- |
20 | 20 | ||
@@ -505,7 +505,8 @@ const STATIC_PATHS = { | |||
505 | } | 505 | } |
506 | const STATIC_DOWNLOAD_PATHS = { | 506 | const STATIC_DOWNLOAD_PATHS = { |
507 | TORRENTS: '/download/torrents/', | 507 | TORRENTS: '/download/torrents/', |
508 | VIDEOS: '/download/videos/' | 508 | VIDEOS: '/download/videos/', |
509 | HLS_VIDEOS: '/download/streaming-playlists/hls/videos/' | ||
509 | } | 510 | } |
510 | const LAZY_STATIC_PATHS = { | 511 | const LAZY_STATIC_PATHS = { |
511 | AVATARS: '/lazy-static/avatars/', | 512 | AVATARS: '/lazy-static/avatars/', |