diff --git a/.env b/.env index e548574..3ce08e1 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ VITE_API_BASE_URL=https://my-public-node-1.projscale.dev/api/v1 -SENTRY_DSN=https://4ef061d22eee4876ad8bb313134ebf009ed96c9da98742289ff733a301fcd184@k1.hawk.so/0 \ No newline at end of file +VITE_SENTRY_DSN=https://4ef061d22eee4876ad8bb313134ebf009ed96c9da98742289ff733a301fcd184@k1.hawk.so/0 \ No newline at end of file diff --git a/src/shared/services/sentry/index.ts b/src/shared/services/sentry/index.ts index 0e6eca4..7991464 100644 --- a/src/shared/services/sentry/index.ts +++ b/src/shared/services/sentry/index.ts @@ -7,8 +7,9 @@ import { useNavigationType, } from "react-router-dom"; + Sentry.init({ - dsn: import.meta.env.SENTRY_DSN, + dsn: import.meta.env.VITE_SENTRY_DSN, integrations: [ // See docs for support of different versions of variation of react router // https://docs.sentry.io/platforms/javascript/guides/react/configuration/integrations/react-router/