mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
import * as Sentry from '@sentry/nextjs'
|
|
|
|
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
|
|
|
|
Sentry.init({
|
|
dsn: SENTRY_DSN,
|
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-builder',
|
|
})
|