PeerTube/server/helpers/custom-validators/metrics.ts

10 lines
220 B
TypeScript

function isValidPlayerMode (value: any) {
return value === 'webtorrent' || value === 'p2p-media-loader'
}
// ---------------------------------------------------------------------------
export {
isValidPlayerMode
}