mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix: set fetch redirect option to manual in getStream function
This commit is contained in:
1
dist/dooflix/stream.js
vendored
1
dist/dooflix/stream.js
vendored
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user