all repos — caroster @ a69dc08b4f89eca3499b1321ae3077f0846ae591

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

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

 1// This file configures the initialization of Sentry on the browser.
 2// The config you add here will be used whenever a page is visited.
 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});