Skip to content

Commit c9c82ea

Browse files
committed
move all sentry related values to .env.local
1 parent 17082a1 commit c9c82ea

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
NEXT_PUBLIC_PROVIDER_NAME=beachsidebiotech
55
NEXT_PUBLIC_PROVIDER_ID=5159
66
NEXT_PUBLIC_SCIENTIST_API_VERSION=v2
7-
8-
SENTRY_DSN=https://[email protected]/4504810271408128

sentry.client.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
77
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
88

99
Sentry.init({
10-
dsn: SENTRY_DSN || 'https://[email protected]/4504810271408128',
10+
dsn: SENTRY_DSN,
1111
// Adjust this value in production, or use tracesSampler for greater control
1212
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
1313
tracesSampleRate: 1.0,

sentry.edge.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
77
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
88

99
Sentry.init({
10-
dsn: SENTRY_DSN || 'https://[email protected]/4504810271408128',
10+
dsn: SENTRY_DSN,
1111
// Adjust this value in production, or use tracesSampler for greater control
1212
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
1313
tracesSampleRate: 1.0,

sentry.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
defaults.url=https://sentry.io/
2-
defaults.org=scientist-inc
3-
defaults.project=webstore
41
cli.executable=node_modules/@sentry/cli/bin/sentry-cli

sentry.server.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
77
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
88

99
Sentry.init({
10-
dsn: SENTRY_DSN || 'https://[email protected]/4504810271408128',
10+
dsn: SENTRY_DSN,
1111
// Adjust this value in production, or use tracesSampler for greater control
1212
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
1313
tracesSampleRate: 1.0,

0 commit comments

Comments
 (0)