Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: trpc base link (#1666)
Maximilian Kaske032587b9cf76
diff --git a/apps/web/src/trpc/shared.ts b/apps/web/src/trpc/shared.tsindex 921106ff3..d6c8c89c2 100644--- a/apps/web/src/trpc/shared.ts+++ b/apps/web/src/trpc/shared.ts@@ -6,6 +6,8 @@ import superjson from "superjson";const getBaseUrl = () => {if (typeof window !== "undefined") return "";+ if (process.env.VERCEL_ENV === "production")+ return "https://www.openstatus.dev";if (process.env.VERCEL_URL) return `https://${process.env.VERCEL_URL}`; // Vercelreturn "http://localhost:3000"; // Local dev};