Skip to content

Commit

Permalink
chore(sentry): prepend dsn variable with NEXT_PUBLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
SelmaBergstrand committed Nov 29, 2024
1 parent f0ab0cb commit 82c14b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tavla/helm/tavla/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ common:
name: sentry
key: auth-token

- name: SENTRY_DSN_URL
- name: NEXT_PUBLIC_SENTRY_DSN_URL
valueFrom:
secretKeyRef:
name: sentry
Expand Down
2 changes: 1 addition & 1 deletion tavla/sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as Sentry from '@sentry/nextjs'

Sentry.init({
dsn: process.env.SENTRY_DSN_URL,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_URL,

tracesSampleRate: 1,

Expand Down
2 changes: 1 addition & 1 deletion tavla/sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import * as Sentry from '@sentry/nextjs'

Sentry.init({
dsn: process.env.SENTRY_DSN_URL,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_URL,

tracesSampleRate: 1,

Expand Down
2 changes: 1 addition & 1 deletion tavla/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as Sentry from '@sentry/nextjs'

Sentry.init({
dsn: process.env.SENTRY_DSN_URL,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_URL,

tracesSampleRate: 1,

Expand Down

0 comments on commit 82c14b7

Please sign in to comment.