Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix(dashboard): display custom domain in badge URL instead of always showing openstatus.dev (#2520)
Maxb2d797260bab
diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsxindex 9dc6e2e24..2979cbfa2 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx@@ -26,7 +26,9 @@ export function Sidebar() {if (!statusPage) return null;- const BADGE_URL = `https://${statusPage.slug}.openstatus.dev/badge/v2`;+ const BADGE_URL = `https://${+ statusPage.customDomain || `${statusPage.slug}.openstatus.dev`+ }/badge/v2`;return (<SidebarRight