mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 01:48:28 +00:00
to debug
This commit is contained in:
parent
2746a67dd6
commit
5aff67cbaa
@ -51,6 +51,8 @@ async function handleYoutubeStream(streamInfo, res) {
|
||||
|
||||
streamInfo.url = req.url;
|
||||
const size = BigInt(req.headers.get('content-length'));
|
||||
console.log("size=========>",size)
|
||||
console.log("req.status=========>", req.status);
|
||||
|
||||
if (req.status !== 200 || !size) {
|
||||
return cleanup();
|
||||
|
Loading…
Reference in New Issue
Block a user