mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 10:07:35 +00:00
Extract DSN
This commit is contained in:
parent
108b7c2b55
commit
9b20f773e4
2 changed files with 4 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue