From c1ae80e13ad64f083bc8e99350222b90c5dee253 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Mon, 18 Nov 2024 17:02:54 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20FEAT:=20Sentry=20environment=20developme?= =?UTF-8?q?nt=EC=99=80=20production=EC=9C=BC=EB=A1=9C=20=EB=B6=84=EB=A6=AC?= =?UTF-8?q?=20#1687?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/main.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 2d963d344..7de2f2301 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -17,7 +17,11 @@ import { GlobalStyle } from "@/Cabinet/assets/data/ColorTheme"; Sentry.init({ dsn: import.meta.env.VITE_SENTRY_DSN, environment: - import.meta.env.VITE_IS_LOCAL === "true" ? "local" : "production", + import.meta.env.VITE_IS_LOCAL === "true" + ? "local" + : import.meta.env.VITE_BE_HOST.includes("dev") + ? "development" + : "production", release: "^8.18.0", integrations: [ // See docs for support of different versions of variation of react router