mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Fix live infohash block
This commit is contained in:
parent
284ef52911
commit
d988e9a2f8
2 changed files with 1 additions and 2 deletions
|
@ -51,7 +51,7 @@ const trackerServer = new TrackerServer({
|
|||
const videoFileExists = await VideoFileModel.doesInfohashExistCached(infoHash)
|
||||
if (videoFileExists === true) return cb()
|
||||
|
||||
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)
|
||||
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExistCached(infoHash)
|
||||
if (playlistExists === true) return cb()
|
||||
|
||||
cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue