fix: restore glitchtip nesting and fix type errors
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m32s
Build & Deploy / 🏗️ Build (push) Successful in 5m10s
Build & Deploy / 🚀 Deploy (push) Successful in 42s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 4m17s
Build & Deploy / 🔔 Notify (push) Successful in 2s
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m32s
Build & Deploy / 🏗️ Build (push) Successful in 5m10s
Build & Deploy / 🚀 Deploy (push) Successful in 42s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 4m17s
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -36,12 +36,14 @@ function createConfig() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
|
glitchtip: {
|
||||||
// Use NEXT_PUBLIC_SENTRY_DSN if available (required for browser-side SDK)
|
// Use NEXT_PUBLIC_SENTRY_DSN if available (required for browser-side SDK)
|
||||||
dsn: env.NEXT_PUBLIC_SENTRY_DSN || (env as any).SENTRY_DSN,
|
dsn: env.NEXT_PUBLIC_SENTRY_DSN || env.SENTRY_DSN,
|
||||||
// The proxied origin used in the frontend
|
// The proxied origin used in the frontend
|
||||||
proxyPath: "/errors",
|
proxyPath: "/errors",
|
||||||
enabled: Boolean(env.SENTRY_DSN),
|
enabled: Boolean(env.SENTRY_DSN),
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
|
||||||
cache: {
|
cache: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ const envExtension = {
|
|||||||
// Project specific overrides or additions
|
// Project specific overrides or additions
|
||||||
AUTH_COOKIE_NAME: z.string().default("mb_gatekeeper_session"),
|
AUTH_COOKIE_NAME: z.string().default("mb_gatekeeper_session"),
|
||||||
NEXT_PUBLIC_SENTRY_DSN: z.string().optional(),
|
NEXT_PUBLIC_SENTRY_DSN: z.string().optional(),
|
||||||
|
SENTRY_DSN: z.string().optional(),
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user