mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: support sentry report (#1729)
This commit is contained in:
8
apps/web/sentry.client.config.ts
Normal file
8
apps/web/sentry.client.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as Sentry from '@sentry/nextjs';
|
||||
|
||||
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
|
||||
|
||||
Sentry.init({
|
||||
dsn: SENTRY_DSN,
|
||||
tracesSampleRate: 1.0,
|
||||
});
|
||||
Reference in New Issue
Block a user