File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ if (process.env.NODE_ENV === "production") {
77 tracesSampleRate : 0.2 ,
88 debug : false ,
99 release : `${ process . env . SENTRY_RELEASE || "production" } ` ,
10- allowUrls : [ " https:/ /jsoncrack.com/editor" ] ,
11- replaysOnErrorSampleRate : 1. 0,
12- replaysSessionSampleRate : 0.1 ,
10+ allowUrls : [ / ^ h t t p s : \/ \ /j s o n c r a c k \ .c o m / ] ,
11+ replaysOnErrorSampleRate : 0 ,
12+ replaysSessionSampleRate : 0 ,
1313 integrations : [
14- new Sentry . BrowserTracing ( ) ,
15- new Sentry . Replay ( {
16- maskAllText : true ,
14+ Sentry . browserTracingIntegration ( ) ,
15+ Sentry . replayIntegration ( {
16+ maskAllText : false , // [.sentry-mask] added to the text editor
1717 blockAllMedia : true ,
1818 } ) ,
1919 ] ,
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ const TextEditor = () => {
7777 < StyledEditorWrapper >
7878 < StyledWrapper >
7979 < Editor
80+ className = "sentry-mask"
81+ data-sentry-mask = "true"
8082 height = "100%"
8183 language = { fileType }
8284 theme = { theme }
You can’t perform that action at this time.
0 commit comments