Skip to content

Commit

Permalink
feat: better highlight setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Zakharov committed Sep 12, 2023
1 parent 5e499a2 commit 5325e84
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ import ReactDOM from 'react-dom/client'
import { App, appStarted } from '@app'

H.init(window.ENV.CLIENT_HIGHLIGHT_PROJECT_ID, {
manualStart: true,
environment: window.ENV.NODE_ENV,
version: window.ENV.CLIENT_VERSION,
manualStart: true,
tracingOrigins: [window.ENV.CLIENT_API_URL.replace('https://', '')],
networkRecording: {
enabled: true,
recordHeadersAndBody: true,
},
})

if (window.ENV.NODE_ENV === 'production') {
Expand Down

0 comments on commit 5325e84

Please sign in to comment.