Skip to content

Commit

Permalink
Merge pull request #1710 from innovationacademy-kr/fe/dev/feat_separa…
Browse files Browse the repository at this point in the history
…te_environment/#1709

[FE] FEAT: 기존 Sentry environment에서 development 분리 #1709
  • Loading branch information
jnkeniaem authored Nov 18, 2024
2 parents 55ac3ef + c1ae80e commit 8af13a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8af13a1

Please sign in to comment.