Skip to content

Commit

Permalink
🚑 환경 변수 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiey committed Nov 25, 2024
1 parent 99c1639 commit 5bb201c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import './styles/font.css';

if (process.env.NODE_ENV === 'production') {
Sentry.init({
dsn: process.env.SENTRY_DSN,
dsn: process.env.REACT_APP_SENTRY_DSN,
integrations: [Sentry.browserTracingIntegration(), Sentry.replayIntegration()],
tracesSampleRate: 1.0,
tracePropagationTargets: ['localhost:3001', 'https://coduo.site', /^\/api\//],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
if (process.env.GA_TRACKING_ID) ReactGA.initialize(process.env.GA_TRACKING_ID);
if (process.env.REACT_APP_GA_TRACKING_ID) ReactGA.initialize(process.env.REACT_APP_GA_TRACKING_ID);
}

ReactDOM.createRoot(document.getElementById('root')!).render(
Expand Down
2 changes: 1 addition & 1 deletion frontend/webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default merge(common, {
devtool: 'source-map',
plugins: [
sentryWebpackPlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
authToken: process.env.REACT_APP_SENTRY_AUTH_TOKEN,
org: '2024-coduo',
project: 'coduo2024',
release: 'Coduo' + process.env.REACT_APP_VERSION,
Expand Down

0 comments on commit 5bb201c

Please sign in to comment.