mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Fix fetch poll if server down
This commit is contained in:
parent
a0003388ae
commit
26ee79246d
@ -371,7 +371,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
fet.catch(function(data) {
|
fet.catch(function(data) {
|
||||||
if (!(data.status != 403 || data.status != 401)) {
|
if (data.status != 403 || data.status != 401) {
|
||||||
fetchtimeout = setTimeout(run_fetch_routine, 10000);
|
fetchtimeout = setTimeout(run_fetch_routine, 10000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user