mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Changed default valid status config
This commit is contained in:
parent
2a2f73e2d0
commit
39f3bf1f62
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ const instance = axios.create({
|
|||
timeout: config.timeout,
|
||||
httpsAgent: new https.Agent({
|
||||
rejectUnauthorized: false
|
||||
})
|
||||
}),
|
||||
validateStatus: function (status) {
|
||||
return status >= 200 && status < 404
|
||||
}
|
||||
})
|
||||
|
||||
async function test() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue