Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f00828b80 |
@@ -36,12 +36,14 @@ function createConfig() {
|
||||
},
|
||||
|
||||
errors: {
|
||||
glitchtip: {
|
||||
// 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
|
||||
proxyPath: "/errors",
|
||||
enabled: Boolean(env.SENTRY_DSN),
|
||||
},
|
||||
},
|
||||
|
||||
cache: {
|
||||
enabled: false,
|
||||
|
||||
@@ -18,6 +18,7 @@ const envExtension = {
|
||||
// Project specific overrides or additions
|
||||
AUTH_COOKIE_NAME: z.string().default("mb_gatekeeper_session"),
|
||||
NEXT_PUBLIC_SENTRY_DSN: z.string().optional(),
|
||||
SENTRY_DSN: z.string().optional(),
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user