1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Remove deprecated server code

This commit is contained in:
Chocobozzz 2024-11-04 10:16:31 +01:00
parent 11fd3a4618
commit 3842a527f6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
39 changed files with 40 additions and 173 deletions

View file

@ -1,10 +1,3 @@
function isValidPlayerMode (value: any) {
// TODO: remove webtorrent in v7
return value === 'webtorrent' || value === 'web-video' || value === 'p2p-media-loader'
}
// ---------------------------------------------------------------------------
export {
isValidPlayerMode
export function isValidPlayerMode (value: any) {
return value === 'web-video' || value === 'p2p-media-loader'
}