10 lines
228 B
TypeScript
10 lines
228 B
TypeScript
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
|
import * as Sentry from '@sentry/nextjs';
|
|
import './src/env.js';
|
|
|
|
Sentry.init({
|
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
|
tracesSampleRate: 1,
|
|
debug: false,
|
|
});
|