Skip to content

Commit dd0501b

Browse files
authored
fix(solidstart): Remove public DSN from README (#13294)
1 parent 28a8237 commit dd0501b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/solidstart/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Create an instrument file named `instrument.server.mjs` and add your initializat
6666
import * as Sentry from '@sentry/solidstart';
6767

6868
Sentry.init({
69-
dsn: 'https://[email protected]/4507459091824640',
69+
dsn: '__PUBLIC_DSN__',
7070
tracesSampleRate: 1.0, // Capture 100% of the transactions
7171
});
7272
```
@@ -145,11 +145,6 @@ JS `ErrorBoundary` component with `Sentry.withSentryErrorBoundary`.
145145
import * as Sentry from '@sentry/solidstart';
146146
import { ErrorBoundary } from 'solid-js';
147147

148-
Sentry.init({
149-
dsn: '__PUBLIC_DSN__',
150-
tracesSampleRate: 1.0, // Capture 100% of the transactions
151-
});
152-
153148
const SentryErrorBoundary = Sentry.withSentryErrorBoundary(ErrorBoundary);
154149

155150
render(

0 commit comments

Comments
 (0)