Files
gitbook/sentry.server.config.ts
T
2024-01-26 11:32:24 +01:00

11 lines
185 B
TypeScript

import * as Sentry from '@sentry/nextjs';
const dsn = process.env.SENTRY_DSN;
if (dsn) {
Sentry.init({
dsn,
tracesSampleRate: 0.01,
debug: false,
});
}