diff --git a/apps/app/next.config.js b/apps/app/next.config.js index 89c00d701..ed883e597 100644 --- a/apps/app/next.config.js +++ b/apps/app/next.config.js @@ -18,7 +18,7 @@ const nextConfig = { }, }; -if (process.env.NEXT_PUBLIC_ENABLE_SENTRY) { +if (parseInt(process.env.NEXT_PUBLIC_ENABLE_SENTRY || "0")) { module.exports = withSentryConfig(nextConfig, { silent: true }, { hideSourceMaps: true }); } else { module.exports = nextConfig; diff --git a/apps/app/pages/signin.tsx b/apps/app/pages/signin.tsx index fff701679..231a3cbd9 100644 --- a/apps/app/pages/signin.tsx +++ b/apps/app/pages/signin.tsx @@ -113,7 +113,7 @@ const SignInPage: NextPage = () => { Sign in to your account
- {Boolean(process.env.NEXT_PUBLIC_ENABLE_OAUTH) ? ( + {parseInt(process.env.NEXT_PUBLIC_ENABLE_OAUTH || "0") ? ( <>