Add keepalive option to tracker fetch request
This commit is contained in:
1 parent
768583e991
commit
42c0ccc2eb
1 file changed
+1
@@ -150,6 +150,7 @@
|
||||
|
||||
try {
|
||||
const res = await fetch(endpoint, {
|
||||
keepalive: true,
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ type, payload }),
|
||||
headers: {
|
||||
|
||||
Reference in new issue
Block a user