✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
feat: update sentry config
AykutSarac4a6dd861a5cb
diff --git a/sentry.client.config.ts b/sentry.client.config.tsindex 0faef631..8177b406 100644--- a/sentry.client.config.ts+++ b/sentry.client.config.ts@@ -7,13 +7,13 @@ if (process.env.NODE_ENV === "production") {tracesSampleRate: 0.2,debug: false,release: `${process.env.SENTRY_RELEASE || "production"}`,- allowUrls: ["https://jsoncrack.com/editor"],- replaysOnErrorSampleRate: 1.0,- replaysSessionSampleRate: 0.1,+ allowUrls: [/^https:\/\/jsoncrack\.com/],+ replaysOnErrorSampleRate: 0,+ replaysSessionSampleRate: 0,integrations: [- new Sentry.BrowserTracing(),- new Sentry.Replay({- maskAllText: true,+ Sentry.browserTracingIntegration(),+ Sentry.replayIntegration({+ maskAllText: false, // [.sentry-mask] added to the text editorblockAllMedia: true,}),],diff --git a/src/features/editor/TextEditor.tsx b/src/features/editor/TextEditor.tsxindex 4a2a0571..12a3bfcf 100644--- a/src/features/editor/TextEditor.tsx+++ b/src/features/editor/TextEditor.tsx@@ -77,6 +77,8 @@ const TextEditor = () => {<StyledEditorWrapper><StyledWrapper><Editor+ className="sentry-mask"+ data-sentry-mask="true"height="100%"language={fileType}theme={theme}