diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-11 09:21:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-11 09:21:13 +0200 |
commit | 784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428 (patch) | |
tree | 29c46cfd6344065eb805680ed080cb05592ee1d4 /server/helpers/query.ts | |
parent | c3030e944ad03c7fd7b5d668a2d88ff03e4cdf19 (diff) | |
download | PeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.tar.gz PeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.tar.zst PeerTube-784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428.zip |
Prefer web videos in favour of webtorrent
Diffstat (limited to 'server/helpers/query.ts')
-rw-r--r-- | server/helpers/query.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/helpers/query.ts b/server/helpers/query.ts index 10efae41c..c0f78368f 100644 --- a/server/helpers/query.ts +++ b/server/helpers/query.ts | |||
@@ -23,7 +23,8 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) { | |||
23 | 'include', | 23 | 'include', |
24 | 'skipCount', | 24 | 'skipCount', |
25 | 'hasHLSFiles', | 25 | 'hasHLSFiles', |
26 | 'hasWebtorrentFiles', | 26 | 'hasWebtorrentFiles', // TODO: Remove in v7 |
27 | 'hasWebVideoFiles', | ||
27 | 'search', | 28 | 'search', |
28 | 'excludeAlreadyWatched' | 29 | 'excludeAlreadyWatched' |
29 | ]) | 30 | ]) |