fix: set fetch redirect option to manual in getStream function

This commit is contained in:
himanshu8443
2025-06-23 14:48:20 +05:30
parent c5927a0aa5
commit 4dd8dc3665
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ const getStream = function (_a) {
try {
const streams = [];
const response = yield fetch(link, {
redirect: "manual",
headers: {
Connection: "Keep-Alive",
"User-Agent": "Mozilla/5.0 (WindowsNT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.37",