Skip to content

Commit

Permalink
move all sentry related values to .env.local
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Mar 13, 2023
1 parent 17082a1 commit c9c82ea
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
NEXT_PUBLIC_PROVIDER_NAME=beachsidebiotech
NEXT_PUBLIC_PROVIDER_ID=5159
NEXT_PUBLIC_SCIENTIST_API_VERSION=v2

SENTRY_DSN=https://[email protected]/4504810271408128
2 changes: 1 addition & 1 deletion sentry.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

Sentry.init({
dsn: SENTRY_DSN || 'https://[email protected]/4504810271408128',
dsn: SENTRY_DSN,
// Adjust this value in production, or use tracesSampler for greater control
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
tracesSampleRate: 1.0,
Expand Down
2 changes: 1 addition & 1 deletion sentry.edge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

Sentry.init({
dsn: SENTRY_DSN || 'https://[email protected]/4504810271408128',
dsn: SENTRY_DSN,
// Adjust this value in production, or use tracesSampler for greater control
// ref: https://develop.sentry.dev/sdk/performance/#sdk-configuration
tracesSampleRate: 1.0,
Expand Down
3 changes: 0 additions & 3 deletions sentry.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
defaults.url=https://sentry.io/
defaults.org=scientist-inc
defaults.project=webstore
cli.executable=node_modules/@sentry/cli/bin/sentry-cli
2 changes: 1 addition & 1 deletion sentry.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

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

0 comments on commit c9c82ea

Please sign in to comment.