File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 5
5
import * as Sentry from '@sentry/nextjs' ;
6
6
7
7
Sentry . init ( {
8
- dsn : 'https://c25e0f77069805e271e110773a67be7a@o4505001794404352.ingest.us.sentry.io/4507246358364160' ,
8
+ dsn : process . env . SENTRY_DSN ,
9
9
10
10
// Adjust this value in production, or use tracesSampler for greater control
11
11
tracesSampleRate : 0.1 ,
Original file line number Diff line number Diff line change 3
3
// Note that this config is unrelated to the Vercel Edge Runtime and is also required when running locally.
4
4
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
5
5
6
- import * as Sentry from " @sentry/nextjs" ;
6
+ import * as Sentry from ' @sentry/nextjs' ;
7
7
8
8
Sentry . init ( {
9
- dsn : "https://c25e0f77069805e271e110773a67be7a@o4505001794404352.ingest.us.sentry.io/4507246358364160" ,
9
+ dsn : process . env . SENTRY_DSN ,
10
10
11
11
// Adjust this value in production, or use tracesSampler for greater control
12
12
tracesSampleRate : 1 ,
Original file line number Diff line number Diff line change 2
2
// The config you add here will be used whenever the server handles a request.
3
3
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
4
4
5
- import * as Sentry from " @sentry/nextjs" ;
5
+ import * as Sentry from ' @sentry/nextjs' ;
6
6
7
7
Sentry . init ( {
8
- dsn : "https://c25e0f77069805e271e110773a67be7a@o4505001794404352.ingest.us.sentry.io/4507246358364160" ,
8
+ dsn : process . env . SENTRY_DSN ,
9
9
10
10
// Adjust this value in production, or use tracesSampler for greater control
11
11
tracesSampleRate : 1 ,
@@ -15,5 +15,4 @@ Sentry.init({
15
15
16
16
// uncomment the line below to enable Spotlight (https://spotlightjs.com)
17
17
// spotlight: process.env.NODE_ENV === 'development',
18
-
19
18
} ) ;
You can’t perform that action at this time.
0 commit comments