env
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m34s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m34s
This commit is contained in:
@@ -23,13 +23,11 @@ export const config = {
|
||||
|
||||
errors: {
|
||||
glitchtip: {
|
||||
// Server-side DSN (direct to GlitchTip)
|
||||
// Use SENTRY_DSN for both server and client (proxied)
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
// Client-side DSN (proxied through Next.js)
|
||||
publicDsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
// The proxied origin used in the frontend
|
||||
proxyPath: '/errors',
|
||||
enabled: Boolean(process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN),
|
||||
enabled: Boolean(process.env.SENTRY_DSN),
|
||||
},
|
||||
},
|
||||
|
||||
@@ -84,7 +82,6 @@ export function getMaskedConfig() {
|
||||
errors: {
|
||||
glitchtip: {
|
||||
dsn: mask(config.errors.glitchtip.dsn),
|
||||
publicDsn: mask(config.errors.glitchtip.publicDsn),
|
||||
enabled: config.errors.glitchtip.enabled,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user