mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Add keepalive option to tracker fetch request
This commit is contained in:
parent
768583e991
commit
42c0ccc2eb
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@
|
|||
|
||||
try {
|
||||
const res = await fetch(endpoint, {
|
||||
keepalive: true,
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ type, payload }),
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue