AFFiNE/apps/web/sentry.edge.config.ts
2023-04-23 23:40:59 -05:00

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: 0.1,
});