Skip to content
Snippets Groups Projects
Commit 79d3e19b authored by David Rychlý's avatar David Rychlý
Browse files

Oprava Sentry BrowserTracing, zakomentování polyfill.io volání

parent d3c0bef0
No related branches found
No related tags found
1 merge request!2Oprava keycloak
Pipeline #19971 passed
......@@ -37,7 +37,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="stylesheet" href="%REACT_APP_STYLEGUIDE_URL%/css/styles.css" />
<script src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver"></script>
<!--<script src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver"></script>-->
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
......
......@@ -5,7 +5,7 @@ import { BrowserRouter as Router, Route, Routes } from "react-router-dom";
import { ReactKeycloakProvider as KeycloakProvider } from "@react-keycloak/web";
import { extraErrorDataIntegration } from "@sentry/integrations";
import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
import { browserTracingIntegration } from "@sentry/browser"
import { loadAnnouncements } from "actions/announcements";
import { loadConfig } from "actions/global-info";
......@@ -33,7 +33,7 @@ if (process.env.REACT_APP_SENTRY_DSN) {
Sentry.init({
dsn: process.env.REACT_APP_SENTRY_DSN,
tracesSampleRate: 0.1,
integrations: [extraErrorDataIntegration(), new Integrations.BrowserTracing()],
integrations: [extraErrorDataIntegration(), new browserTracingIntegration()],
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment