Skip to content

Commit

Permalink
fix: #1103;
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Mar 13, 2023
1 parent c244448 commit 1f939d0
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
import SplashScreen from '$lib/components/_Splash_screen.svelte';
import '../app.css';
import { goto } from '$app/navigation';
const VALID_PROFILE_PAGE_URL: string[] = [
'/u/dashboard',
'/u/settings'
Expand All @@ -44,12 +43,26 @@
if (!dev) {
Sentry.init({
dsn: 'https://[email protected]/6275655',
integrations: [new BrowserTracing()],
integrations: [
new BrowserTracing(),
new Sentry.Replay()
],
// NOTE: browser-tracing;
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0
tracesSampleRate: 1.0,
// NOTE: replay-session;
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
});
}
});
Expand Down

0 comments on commit 1f939d0

Please sign in to comment.