16 lines
392 B
JavaScript
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,
|
|
});
|