Skip to content

Commit a662d30

Browse files
committed
feat(replay): Allow to configure URLs to capture network bodies/headers
1 parent 0161cdd commit a662d30

File tree

30 files changed

+2063
-943
lines changed

30 files changed

+2063
-943
lines changed

packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/init.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
55
flushMinDelay: 200,
66
flushMaxDelay: 200,
7-
_experiments: {
8-
captureNetworkBodies: true,
9-
},
7+
8+
networkDetailAllowUrls: ['http://localhost:7654/foo'],
9+
networkCaptureBodies: true,
1010
});
1111

1212
Sentry.init({

0 commit comments

Comments
 (0)