From 204e4a8c6d34cc3da8c6da8fc99c90517317c429 Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Tue, 2 Apr 2024 16:45:18 +0530 Subject: [PATCH] fix: nextjs config sentry --- space/next.config.js | 2 +- web/next.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/space/next.config.js b/space/next.config.js index b36368720..352d9b61b 100644 --- a/space/next.config.js +++ b/space/next.config.js @@ -27,7 +27,7 @@ const nextConfig = { output: "standalone", }; -if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) { +if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) { module.exports = withSentryConfig(nextConfig, { silent: true, authToken: process.env.SENTRY_AUTH_TOKEN }, { hideSourceMaps: true } diff --git a/web/next.config.js b/web/next.config.js index a7c658b59..256183e31 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -25,7 +25,7 @@ const nextConfig = { output: "standalone", }; -if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0"), 10) { +if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0", 10)) { module.exports = withSentryConfig(nextConfig, { silent: true, authToken: process.env.SENTRY_AUTH_TOKEN }, { hideSourceMaps: true }