EvoCalculator.Client2/apps/web/sentry.server.config.js
2024-02-22 15:36:20 +03:00

16 lines
392 B
JavaScript

// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import getUrls from './config/urls';
import { init } from '@sentry/nextjs';
const { SENTRY_DSN } = getUrls();
init({
debug: false,
dsn: SENTRY_DSN,
tracesSampleRate: 1,
});