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