Extract DSN

This commit is contained in:
Jordan Eldredge 2020-11-11 00:35:19 -08:00
parent 108b7c2b55
commit 9b20f773e4
2 changed files with 4 additions and 2 deletions

View file

@ -11,3 +11,5 @@ export const SKIN_CDN = "https://cdn.webampskins.org";
export const API_URL = "https://api.webampskins.org";
export const HEADING_HEIGHT = 46;
export const CHUNK_SIZE = 300;
export const SENTRY_DSN =
"https://e8278543caf0486b83d718156177c522@o68382.ingest.sentry.io/5508251";

View file

@ -7,10 +7,10 @@ import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
// import registerServiceWorker from "./registerServiceWorker";
import { unregister } from "./registerServiceWorker";
import { SENTRY_DSN } from "./constants";
Sentry.init({
dsn:
"https://e8278543caf0486b83d718156177c522@o68382.ingest.sentry.io/5508251",
dsn: SENTRY_DSN,
integrations: [new Integrations.BrowserTracing()],
// We recommend adjusting this value in production, or using tracesSampler