Skip to content

Commit

Permalink
replay(options): point out how to opt-in for text if safe (#8531)
Browse files Browse the repository at this point in the history
Co-authored-by: Billy Vong <[email protected]>
Co-authored-by: Liza Mock <[email protected]>
  • Loading branch information
3 people committed Nov 21, 2023
1 parent 02b35fd commit eedfb0d
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
The following options can be configured as options to the integration, in `new Replay({})`:
If you're working on a static website that's free of personal identifiable or other type of private data,
you can opt out of the default text masking and image blocking by configuring the `maskAllText` and `blockAllMedia` configuration options respectively:

```javascript
new Sentry.Replay({
maskAllText: false,
blockAllMedia: false,
});
```

The following is a complete list of options that can be used in `new Replay({})`:

| key | type | default | description |
| ------------- | -------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down

1 comment on commit eedfb0d

@vercel
Copy link

@vercel vercel bot commented on eedfb0d Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.