diff --git a/.env.production b/.env.production index fae2b9f..df14575 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,5 @@ REACT_APP_STRIPE_URL=https://payment.owlbear.rodeo REACT_APP_VERSION=$npm_package_version REACT_APP_PREVIEW=false REACT_APP_LOGGING=false -REACT_APP_FATHOM_SITE_ID=VMSHBPKD \ No newline at end of file +REACT_APP_FATHOM_SITE_ID=VMSHBPKD +REACT_APP_SENTRY_DSN=https://5257021c3a114649baa5e3b8ba775bfe@o467475.ingest.sentry.io/5493956 \ No newline at end of file diff --git a/src/index.js b/src/index.js index 6393204..d21cd5b 100644 --- a/src/index.js +++ b/src/index.js @@ -18,8 +18,7 @@ if (!("PointerEvent" in window)) { if (process.env.REACT_APP_LOGGING === "true") { Sentry.init({ - dsn: - "https://bc1e2edfe7ca453f8e7357a48693979e@o467475.ingest.sentry.io/5493956", + dsn: process.env.REACT_APP_SENTRY_DSN, release: "owlbear-rodeo@" + process.env.REACT_APP_VERSION, // Ignore resize error as it is triggered by going fullscreen on slower computers // Ignore quota error