mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 08:58:05 +00:00
fix for retry to decode shortened URI if we got null response
This commit is contained in:
parent
c93474d3d5
commit
572242e0c1
@ -896,7 +896,7 @@ function fetchShortenedURI(req, attemptCount) {
|
|||||||
if ((req.attemptCount ? ++req.attemptCount : req.attemptCount = 1) < 3) // < $.Options.decodeShortURITriesMax
|
if ((req.attemptCount ? ++req.attemptCount : req.attemptCount = 1) < 3) // < $.Options.decodeShortURITriesMax
|
||||||
fetchShortenedURI(req.shortURI, req.attemptCount);
|
fetchShortenedURI(req.shortURI, req.attemptCount);
|
||||||
}
|
}
|
||||||
}, {short: req, attemptCount: attemptCount}
|
}, {shortURI: req, attemptCount: attemptCount}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user