mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Stop fetching when disconnected fix
This commit is contained in:
parent
a767e11288
commit
8a2946aab0
@ -324,7 +324,7 @@ function run_fetch_routine() {
|
||||
}
|
||||
});
|
||||
fet.catch(function(data) {
|
||||
if (data.status != 403) {
|
||||
if (!(data.status != 403 || data.status != 401)) {
|
||||
fetchtimeout = setTimeout(run_fetch_routine, 10000);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user