env vars
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Failing after 3m30s

This commit is contained in:
2026-01-26 12:57:06 +01:00
parent b596c22011
commit feedf30be1
7 changed files with 9 additions and 6 deletions

View File

@@ -343,7 +343,7 @@ const nextConfig = {
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
async rewrites() {
const umamiUrl = process.env.NEXT_PUBLIC_UMAMI_SCRIPT_URL?.replace('/script.js', '') || 'https://analytics.infra.mintel.me';
const umamiUrl = (process.env.UMAMI_SCRIPT_URL || 'https://analytics.infra.mintel.me').replace('/script.js', '');
const glitchtipUrl = process.env.SENTRY_DSN ? new URL(process.env.SENTRY_DSN).origin : 'https://errors.infra.mintel.me';
return [