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,
2023-04-24 07:40:59 +03:00
tracesSampleRate: 0.1,
2023-03-28 22:06:16 +03:00
});