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 5006fa3 commit 90e9794
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ import {
} from 'react-router-dom';
import { VITE_SENTRY_DSN_KEY } from '@/constants/environment';

console.log(VITE_SENTRY_DSN_KEY);
console.log(process.env.VITE_SENTRY_DSN_KEY);

const setSentry = () => {
function initSentry() {
Sentry.init({
environment: process.env.NODE_ENV,
dsn: VITE_SENTRY_DSN_KEY || process.env.VITE_SENTRY_DSN_KEY,
dsn: VITE_SENTRY_DSN_KEY,
tracesSampleRate: 1.0,
tracePropagationTargets: [
'localhost',
Expand Down

0 comments on commit 90e9794

Please sign in to comment.