From 93a44e87c3d1389afd75b3cd0eb2c0990bc5c84a Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Mon, 26 Aug 2024 04:37:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20key=20=EC=97=86=EC=9D=84=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20=EB=8C=80=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/sentry.ts | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/sentry.ts b/src/utils/sentry.ts index 9956be2..eb28319 100644 --- a/src/utils/sentry.ts +++ b/src/utils/sentry.ts @@ -15,7 +15,7 @@ const setSentry = () => { Sentry.init({ environment: process.env.NODE_ENV, - dsn: VITE_SENTRY_DSN_KEY, + dsn: VITE_SENTRY_DSN_KEY || process.env.VITE_SENTRY_DSN_KEY, tracesSampleRate: 1.0, tracePropagationTargets: [ 'localhost', diff --git a/vite.config.ts b/vite.config.ts index eb11dc1..77d06c5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,4 +25,4 @@ export default defineConfig({ build: { sourcemap: true } -}); \ No newline at end of file +});