Skip to content

Commit 6566294

Browse files
committed
fix xhr
1 parent c5a1d14 commit 6566294

File tree

1 file changed

+1
-1
lines changed
  • packages/rrweb/src/plugins/network/record

1 file changed

+1
-1
lines changed

packages/rrweb/src/plugins/network/record/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function initXhrObserver(
310310
//
311311
});
312312
});
313-
originalOpen(method, url, async, username, password);
313+
originalOpen.call(xhr, method, url, async, username, password);
314314
};
315315
},
316316
);

0 commit comments

Comments
 (0)