Skip to content

Commit 42c0ccc

Browse files
committed
Add keepalive option to tracker fetch request
1 parent 768583e commit 42c0ccc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tracker/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150

151151
try {
152152
const res = await fetch(endpoint, {
153+
keepalive: true,
153154
method: 'POST',
154155
body: JSON.stringify({ type, payload }),
155156
headers: {

0 commit comments

Comments
 (0)