|
|
|
|
@ -5,24 +5,23 @@ import { |
|
|
|
|
} from 'react' |
|
|
|
|
import ReactDOM from 'react-dom' |
|
|
|
|
|
|
|
|
|
import * as Sentry from '@sentry/react' |
|
|
|
|
import { BrowserTracing } from '@sentry/react' |
|
|
|
|
|
|
|
|
|
import { isIOS, ENV } from 'config' |
|
|
|
|
|
|
|
|
|
// import { makeServer } from 'utilits/mirage/Mirage'
|
|
|
|
|
import { isIOS } from 'config/userAgent' |
|
|
|
|
// import { makeServer } from 'utilits/mirage/server'
|
|
|
|
|
|
|
|
|
|
// import * as Sentry from '@sentry/react'
|
|
|
|
|
// import { BrowserTracing } from '@sentry/react'
|
|
|
|
|
import * as serviceWorker from './serviceWorker' |
|
|
|
|
|
|
|
|
|
if (process.env.NODE_ENV !== 'development') { |
|
|
|
|
Sentry.init({ |
|
|
|
|
dsn: 'https://bbe0cdfb954644ebaf3be16bb472cc3d@sentry.insports.tv/21', |
|
|
|
|
environment: ENV, |
|
|
|
|
integrations: [new BrowserTracing()], |
|
|
|
|
normalizeDepth: 5, |
|
|
|
|
tracesSampleRate: 1.0, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
// import { ENV } from './config'
|
|
|
|
|
|
|
|
|
|
// if (process.env.NODE_ENV !== 'development') {
|
|
|
|
|
// Sentry.init({
|
|
|
|
|
// dsn: 'https://bbe0cdfb954644ebaf3be16bb472cc3d@sentry.insports.tv/21',
|
|
|
|
|
// environment: ENV,
|
|
|
|
|
// integrations: [new BrowserTracing()],
|
|
|
|
|
// normalizeDepth: 5,
|
|
|
|
|
// tracesSampleRate: 1.0,
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
export const App = process.env.REACT_APP_TYPE === 'auth-service' |
|
|
|
|
? lazy(() => import('features/AuthServiceApp')) |
|
|
|
|
|