mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 20:09:01 -04:00
Update format.js
This commit is contained in:
1 parent
54302496cf
commit
7a84c309ee
1 file changed
+3
-1
+3
-1
@@ -95,8 +95,10 @@ async function detectResolution(playlist) {
|
|||||||
|
|
||||||
const response = await instance
|
const response = await instance
|
||||||
.get(channel.url, { cancelToken: source.token })
|
.get(channel.url, { cancelToken: source.token })
|
||||||
.then(() => {
|
.then(res => {
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
|
|
||||||
|
return res
|
||||||
})
|
})
|
||||||
.then(utils.sleep(config.delay))
|
.then(utils.sleep(config.delay))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
|||||||
Reference in new issue
Block a user