mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: sentry frontend enablement status
This commit is contained in:
parent
1bc078bd0b
commit
3ee33b5c5a
3 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ Sentry.init({
|
||||||
// in development and sample at a lower rate in production
|
// in development and sample at a lower rate in production
|
||||||
replaysSessionSampleRate: 0.1,
|
replaysSessionSampleRate: 0.1,
|
||||||
|
|
||||||
enabled: process.env.NODE_ENV === 'development',
|
enabled: process.env.NODE_ENV != 'development',
|
||||||
|
|
||||||
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
|
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
|
||||||
integrations: [
|
integrations: [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ Sentry.init({
|
||||||
// Adjust this value in production, or use tracesSampler for greater control
|
// Adjust this value in production, or use tracesSampler for greater control
|
||||||
tracesSampleRate: 0.5,
|
tracesSampleRate: 0.5,
|
||||||
|
|
||||||
enabled: process.env.NODE_ENV === 'development',
|
enabled: process.env.NODE_ENV != 'development',
|
||||||
|
|
||||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||||
debug: false,
|
debug: false,
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ Sentry.init({
|
||||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||||
debug: false,
|
debug: false,
|
||||||
|
|
||||||
enabled: process.env.NODE_ENV === 'development',
|
enabled: process.env.NODE_ENV != 'development',
|
||||||
|
|
||||||
// Uncomment the line below to enable Spotlight (https://spotlightjs.com)
|
// Uncomment the line below to enable Spotlight (https://spotlightjs.com)
|
||||||
// spotlight: process.env.NODE_ENV === 'development',
|
// spotlight: process.env.NODE_ENV === 'development',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue