fix: build, typecheck, eslint

This commit is contained in:
2026-02-07 10:03:31 +01:00
parent 56b27b26bc
commit b60ba17770
4 changed files with 6 additions and 7 deletions

View File

@@ -35,11 +35,11 @@ function createConfig() {
errors: {
glitchtip: {
// Use SENTRY_DSN for both server and client (proxied)
dsn: env.SENTRY_DSN,
// The proxied origin used in the frontend
proxyPath: '/errors',
enabled: Boolean(env.SENTRY_DSN),
// On the client, we always enable it (it uses the tunnel / proxy defined in sentry.client.config.ts)
// On the server, we only enable it if the DSN is provided.
enabled: typeof window !== 'undefined' || Boolean(env.SENTRY_DSN),
},
},