mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-30 12:18:12 +03:00
9 lines
161 B
TypeScript
9 lines
161 B
TypeScript
import * as Sentry from '@sentry/nextjs';
|
|
|
|
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
|
|
|
|
Sentry.init({
|
|
dsn: SENTRY_DSN,
|
|
tracesSampleRate: 1.0,
|
|
});
|