mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Updated send logic.
This commit is contained in:
parent
b72232dcac
commit
c0a67dadd5
7 changed files with 101 additions and 67 deletions
|
|
@ -219,8 +219,10 @@
|
|||
|
||||
const data = await res.json();
|
||||
|
||||
disabled = res.status === 429;
|
||||
cache = data?.cache;
|
||||
if (data) {
|
||||
disabled = !!data.disabled;
|
||||
cache = data.cache;
|
||||
}
|
||||
} catch (e) {
|
||||
/* empty */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue