mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Updated Sentry Config and Clerk Components
This commit is contained in:
parent
a3c568d5a1
commit
b21ab83788
5 changed files with 29 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
import { SignIn } from '@clerk/nextjs';
|
||||
|
||||
export default function Page() {
|
||||
return <SignIn signUpUrl='/sign-up' afterSignInUrl='/select-org' />;
|
||||
return <SignIn signUpUrl='/sign-up' fallbackRedirectUrl='/select-org' />;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { SignUp } from '@clerk/nextjs';
|
||||
|
||||
export default function Page() {
|
||||
return <SignUp signInUrl='/sign-in' afterSignUpUrl='/select-org' />;
|
||||
return <SignUp signInUrl='/sign-in' forceRedirectUrl='/select-org' />;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ Sentry.init({
|
|||
colorScheme: 'system',
|
||||
enableScreenshot: true,
|
||||
}),
|
||||
Sentry.replayCanvasIntegration(),
|
||||
],
|
||||
|
||||
// Set tracesSampleRate to 1.0 to capture 100%
|
||||
|
|
|
@ -8,8 +8,19 @@ import * as Sentry from '@sentry/nextjs';
|
|||
Sentry.init({
|
||||
dsn: 'https://bb697105eaabbc6f70af12e84e936ded@o4508368569368576.ingest.us.sentry.io/4508368582017024',
|
||||
|
||||
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
|
||||
tracesSampleRate: 1,
|
||||
// Set tracesSampleRate to 1.0 to capture 100%
|
||||
// of transactions for tracing.
|
||||
// We recommend adjusting this value in production
|
||||
tracesSampleRate: 1.0,
|
||||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
|
||||
tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/],
|
||||
|
||||
// Set profilesSampleRate to 1.0 to profile every transaction.
|
||||
// Since profilesSampleRate is relative to tracesSampleRate,
|
||||
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
|
||||
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would
|
||||
// result in 25% of transactions being profiled (0.5*0.5=0.25)
|
||||
profilesSampleRate: 1.0,
|
||||
|
||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||
debug: false,
|
||||
|
|
|
@ -7,8 +7,19 @@ import * as Sentry from '@sentry/nextjs';
|
|||
Sentry.init({
|
||||
dsn: 'https://bb697105eaabbc6f70af12e84e936ded@o4508368569368576.ingest.us.sentry.io/4508368582017024',
|
||||
|
||||
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
|
||||
tracesSampleRate: 1,
|
||||
// Set tracesSampleRate to 1.0 to capture 100%
|
||||
// of transactions for tracing.
|
||||
// We recommend adjusting this value in production
|
||||
tracesSampleRate: 1.0,
|
||||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
|
||||
tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/],
|
||||
|
||||
// Set profilesSampleRate to 1.0 to profile every transaction.
|
||||
// Since profilesSampleRate is relative to tracesSampleRate,
|
||||
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
|
||||
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would
|
||||
// result in 25% of transactions being profiled (0.5*0.5=0.25)
|
||||
profilesSampleRate: 1.0,
|
||||
|
||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||
debug: false,
|
||||
|
|
Loading…
Reference in a new issue