Skip to content

Commit

Permalink
fix: do not pass env, rely on auto-detection (e.g. vercel-preview)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryous committed Nov 12, 2024
1 parent 1781555 commit 1c92145
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions keep-ui/sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

environment: process.env.NODE_ENV,

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

Expand Down
2 changes: 0 additions & 2 deletions keep-ui/sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

environment: process.env.NODE_ENV,

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

Expand Down
2 changes: 0 additions & 2 deletions keep-ui/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

environment: process.env.NODE_ENV,

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

Expand Down

0 comments on commit 1c92145

Please sign in to comment.