mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 11:25:22 +02:00
Stop fetching when disconnected fix
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user