-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
@@ -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, | ||
}); | ||
} | ||
}); | ||
|