|
|
|
|
@ -13,12 +13,14 @@ import { isIOS } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
import * as serviceWorker from './serviceWorker' |
|
|
|
|
|
|
|
|
|
Sentry.init({ |
|
|
|
|
dsn: 'https://bbe0cdfb954644ebaf3be16bb472cc3d@sentry.insports.tv/21', |
|
|
|
|
environment: process.env.REACT_APP_ENV, |
|
|
|
|
integrations: [new BrowserTracing()], |
|
|
|
|
tracesSampleRate: 1.0, |
|
|
|
|
}) |
|
|
|
|
if (process.env.REACT_APP_ENV === 'production') { |
|
|
|
|
Sentry.init({ |
|
|
|
|
dsn: 'https://bbe0cdfb954644ebaf3be16bb472cc3d@sentry.insports.tv/21', |
|
|
|
|
environment: process.env.REACT_APP_ENV, |
|
|
|
|
integrations: [new BrowserTracing()], |
|
|
|
|
tracesSampleRate: 1.0, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const App = process.env.REACT_APP_TYPE === 'auth-service' |
|
|
|
|
? lazy(() => import('features/AuthServiceApp')) |
|
|
|
|
|