diff --git a/apps/deploy-web/env/.env b/apps/deploy-web/env/.env index 1e1b78ccd..647b328c1 100644 --- a/apps/deploy-web/env/.env +++ b/apps/deploy-web/env/.env @@ -1,2 +1,6 @@ AUTH0_AUDIENCE=https://api.cloudmos.io -AUTH0_SCOPE=openid profile email offline_access \ No newline at end of file +AUTH0_SCOPE=openid profile email offline_access + +NEXT_PUBLIC_SENTRY_DSN="https://2d6f725d1cd34086995df50a5d7192f0@o877251.ingest.sentry.io/4504656428204032" +NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID="2b2b3e1d953d33bd3b3e2c864edd2dea" +NEXT_PUBLIC_SENTRY_APPLICATION_KEY="AKASH-CONSOLE-WEB" \ No newline at end of file diff --git a/apps/deploy-web/env/.env.production b/apps/deploy-web/env/.env.production index 7bd1d969e..46e744415 100644 --- a/apps/deploy-web/env/.env.production +++ b/apps/deploy-web/env/.env.production @@ -19,4 +19,7 @@ NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL BASE_API_MAINNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL BASE_API_TESTNET_URL=$NEXT_PUBLIC_BASE_API_TESTNET_URL -BASE_API_SANDBOX_URL=$NEXT_PUBLIC_BASE_API_SANDBOX_URL \ No newline at end of file +BASE_API_SANDBOX_URL=$NEXT_PUBLIC_BASE_API_SANDBOX_URL + +NEXT_PUBLIC_SENTRY_ENABLED="true" +NEXT_PUBLIC_GA_MEASUREMENT_ID="G-LFRGN2J2RV" \ No newline at end of file diff --git a/apps/deploy-web/env/.env.staging b/apps/deploy-web/env/.env.staging index 7e9d7bfc2..4a86f793a 100644 --- a/apps/deploy-web/env/.env.staging +++ b/apps/deploy-web/env/.env.staging @@ -18,4 +18,6 @@ NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL BASE_API_MAINNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL BASE_API_TESTNET_URL=$NEXT_PUBLIC_BASE_API_TESTNET_URL -BASE_API_SANDBOX_URL=$NEXT_PUBLIC_BASE_API_SANDBOX_URL \ No newline at end of file +BASE_API_SANDBOX_URL=$NEXT_PUBLIC_BASE_API_SANDBOX_URL + +NEXT_PUBLIC_SENTRY_ENABLED="true" \ No newline at end of file diff --git a/apps/deploy-web/sentry.client.config.js b/apps/deploy-web/sentry.client.config.js index c8b104e3e..47355ffd6 100644 --- a/apps/deploy-web/sentry.client.config.js +++ b/apps/deploy-web/sentry.client.config.js @@ -10,8 +10,7 @@ Sentry.init({ dsn: SENTRY_DSN, // Adjust this value in production, or use tracesSampler for greater control tracesSampleRate: 0.01, - serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME, - enabled: process.env.NODE_ENV === "production", + enabled: process.env.NEXT_PUBLIC_SENTRY_ENABLED === "true", integrations: [ Sentry.thirdPartyErrorFilterIntegration({ filterKeys: [process.env.NEXT_PUBLIC_SENTRY_APPLICATION_KEY], diff --git a/apps/deploy-web/sentry.edge.config.js b/apps/deploy-web/sentry.edge.config.js index c8b104e3e..47355ffd6 100644 --- a/apps/deploy-web/sentry.edge.config.js +++ b/apps/deploy-web/sentry.edge.config.js @@ -10,8 +10,7 @@ Sentry.init({ dsn: SENTRY_DSN, // Adjust this value in production, or use tracesSampler for greater control tracesSampleRate: 0.01, - serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME, - enabled: process.env.NODE_ENV === "production", + enabled: process.env.NEXT_PUBLIC_SENTRY_ENABLED === "true", integrations: [ Sentry.thirdPartyErrorFilterIntegration({ filterKeys: [process.env.NEXT_PUBLIC_SENTRY_APPLICATION_KEY], diff --git a/apps/deploy-web/sentry.server.config.js b/apps/deploy-web/sentry.server.config.js index 6bc340026..1d3f7801f 100644 --- a/apps/deploy-web/sentry.server.config.js +++ b/apps/deploy-web/sentry.server.config.js @@ -10,8 +10,7 @@ Sentry.init({ dsn: SENTRY_DSN, // Adjust this value in production, or use tracesSampler for greater control tracesSampleRate: 0.01, - serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME, - enabled: process.env.NODE_ENV === "production", + enabled: process.env.NEXT_PUBLIC_SENTRY_ENABLED === "true", integrations: [ Sentry.thirdPartyErrorFilterIntegration({ filterKeys: [process.env.NEXT_PUBLIC_SENTRY_APPLICATION_KEY],