Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
export const WORKSPACE_SLUG_COOKIE = "workspace-slug";
// Client-side workspace switch: set the cookie the proxy reads, then hard-reload
// so every server component re-resolves against the new workspace.
export function switchWorkspace(slug: string, href = "/overview") {
document.cookie = `${WORKSPACE_SLUG_COOKIE}=${slug}; path=/;`;
window.location.href = href;
}