Skip to content

Commit

Permalink
fix: key 없을경우 대체
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene028 committed Aug 25, 2024
1 parent af2ad1c commit 93a44e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export default defineConfig({
build: {
sourcemap: true
}
});
});

0 comments on commit 93a44e8

Please sign in to comment.