From 84528fe8809e9383fc164beef1b2d00d6f63cee9 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Wed, 21 Apr 2021 18:56:43 +1000 Subject: [PATCH] Update sentry dsn --- .env.production | 3 ++- src/index.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) 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