AFFiNE/apps/web/sentry.edge.config.ts

9 lines
161 B
TypeScript
Raw Normal View History

2023-03-28 22:06:16 +03:00
import * as Sentry from '@sentry/nextjs';
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
});