Skip to content

Commit

Permalink
[FE] FIX: Sentry propagationTarget 에 dev 서버 추가 #1665
Browse files Browse the repository at this point in the history
  • Loading branch information
junyoung2015 committed Aug 7, 2024
1 parent 86d33cd commit 4fdb5b6
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 @@ -38,7 +38,11 @@ Sentry.init({

// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
// tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/],
tracePropagationTargets: ["localhost", /^https:\/\/api\.cabi\.42seoul\.io/],
tracePropagationTargets: [
"localhost",
/^https:\/\/api\.cabi\.42seoul\.io/,
/^https:\/\/api-dev\.cabi\.42seoul\.io/,
],

// Capture Replay for 100% of all sessions,
// plus for 100% of sessions with an error
Expand Down

0 comments on commit 4fdb5b6

Please sign in to comment.