mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:33:25 +00:00
woops we also need that check here
This commit is contained in:
@@ -30,7 +30,7 @@ export async function validatePlayableStream(
|
|||||||
...stream.headers,
|
...stream.headers,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (result.statusCode !== 200) return null;
|
if (result.statusCode < 200 || result.statusCode >= 400) return null;
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
if (stream.type === 'file') {
|
if (stream.type === 'file') {
|
||||||
|
Reference in New Issue
Block a user