mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Skip "403 Forbidden" error during test
Usually gives "false positive" results
This commit is contained in:
1 parent
97ad907a1b
commit
930afe8236
1 file changed
+2
-1
+2
-1
@@ -37,7 +37,8 @@ async function test() {
|
||||
if (
|
||||
!item.status.ok &&
|
||||
item.status.reason !== 'Timed out' &&
|
||||
item.status.reason !== 'Duplicate'
|
||||
item.status.reason !== 'Duplicate' &&
|
||||
item.status.reason !== 'Server returned 403 Forbidden (access denied)'
|
||||
) {
|
||||
stats.failures++
|
||||
|
||||
|
||||
Reference in new issue
Block a user