fix: sentry config update for web app

This commit is contained in:
sriram veeraghanta 2024-05-27 15:02:03 +05:30
parent 2b2f667868
commit 87ef4eecb1
13 changed files with 1081 additions and 82 deletions

View file

@ -28,7 +28,7 @@ const nextConfig = {
},
};
if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) {
if (parseInt(process.env.SENTRY_MONITORING_ENABLED || "0", 10)) {
module.exports = withSentryConfig(
nextConfig,
{ silent: true, authToken: process.env.SENTRY_AUTH_TOKEN },