mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-04-02 23:21:55 +02: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) {
|
fet.catch(function(data) {
|
||||||
if (data.status != 403) {
|
if (!(data.status != 403 || data.status != 401)) {
|
||||||
fetchtimeout = setTimeout(run_fetch_routine, 10000);
|
fetchtimeout = setTimeout(run_fetch_routine, 10000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user