Update format.js

This commit is contained in:
freearhey committed 2021-05-07 18:55:59 +03:00
1 parent 54302496cf
commit 7a84c309ee
1 file changed
+3 -1
+3 -1
View File
@@ -95,8 +95,10 @@ async function detectResolution(playlist) {
const response = await instance
.get(channel.url, { cancelToken: source.token })
.then(() => {
.then(res => {
clearTimeout(timeout)
return res
})
.then(utils.sleep(config.delay))
.catch(err => {