Openstatus www.openstatus.dev

chore: use different sentry project for frontend (#1658)

authored by

Thibault Le Ouay and committed by
GitHub
7a43aebf 6c42832d

+9 -7
+1 -1
apps/dashboard/instrumentation-client.ts
··· 5 5 import * as Sentry from "@sentry/nextjs"; 6 6 7 7 Sentry.init({ 8 - dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, 8 + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_FRONTEND, 9 9 10 10 // Adjust this value in production, or use tracesSampler for greater control 11 11 tracesSampleRate: 0.5,
+1 -1
apps/status-page/instrumentation-client.ts
··· 5 5 import * as Sentry from "@sentry/nextjs"; 6 6 7 7 Sentry.init({ 8 - dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, 8 + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_FRONTEND, 9 9 10 10 // Adjust this value in production, or use tracesSampler for greater control 11 11 tracesSampleRate: 0.5,
+1 -3
apps/web/instrumentation-client.ts
··· 4 4 5 5 import * as Sentry from "@sentry/nextjs"; 6 6 7 - import { env } from "@/env"; 8 - 9 7 Sentry.init({ 10 - dsn: env.NEXT_PUBLIC_SENTRY_DSN, 8 + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_FRONTEND, 11 9 12 10 // Adjust this value in production, or use tracesSampler for greater control 13 11 tracesSampleRate: 0.5,
+3 -1
apps/web/src/app/(landing)/blog/feed.xml/route.ts
··· 46 46 link: author.url, 47 47 }, 48 48 ], 49 - image: post.metadata.image, 49 + image: post.metadata.image 50 + ? `https://www.openstatus.dev/changelog/${post.metadata.image}` 51 + : undefined, 50 52 date: post.metadata.publishedAt, 51 53 }); 52 54 });
+3 -1
apps/web/src/app/(landing)/changelog/feed.xml/route.ts
··· 46 46 link: author.url, 47 47 }, 48 48 ], 49 - image: post.metadata.image, 49 + image: post.metadata.image 50 + ? `https://www.openstatus.dev/changelog/${post.metadata.image}` 51 + : undefined, 50 52 date: post.metadata.publishedAt, 51 53 }); 52 54 });