AFFiNE/apps/web/sentry.edge.config.ts
2023-03-28 14:06:16 -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: 1.0,
});