🔧 (config) publish sentry credentials to client side

This commit is contained in:
2025-10-02 23:35:01 +07:00
parent 8e69819444
commit b0d72f7a13
2 changed files with 7 additions and 8 deletions

View File

@ -12,10 +12,9 @@ export default withSentryConfig(nextConfig, {
// For all available options, see:
// https://www.npmjs.com/package/@sentry/webpack-plugin#options
org: process.env.SENTRY_ORG || "",
project: process.env.SENTRY_PROJECT || "",
sentryUrl: process.env.SENTRY_URL || "",
org: process.env.NEXT_PUBLIC_SENTRY_ORG || "",
project: process.env.NEXT_PUBLIC_SENTRY_PROJECT || "",
sentryUrl: process.env.NEXT_PUBLIC_SENTRY_URL || "",
// Only print logs for uploading source maps in CI
silent: !process.env.CI,