all repos — caroster @ c8aecf6e3de9336a00bdf30da7bcfde3f49a9cc2

[Octree] Group carpool to your event https://caroster.io

frontend/sentry.server.config.js (view raw)

 1// This file configures the initialization of Sentry on the server.
 2// The config you add here will be used whenever the server handles a request.
 3// https://docs.sentry.io/platforms/javascript/guides/nextjs/
 4
 5import * as Sentry from '@sentry/nextjs';
 6
 7const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
 8
 9Sentry.init({
10  dsn: SENTRY_DSN || 'https://e3591d2a93ec4453804ff83008b72af6@o333894.ingest.sentry.io/5828726',
11  // Note: if you want to override the automatic release value, do not set a
12  // `release` value here - use the environment variable `SENTRY_RELEASE`, so
13  // that it will also get attached to your source maps
14});