Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: custom domain rewrite (#1393)
Maximilian Kaske3ebc0fb408b2
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 0f6aca77f..7b81f4ee6 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -93,6 +93,18 @@ const nextConfig = {],destination: "https://:slug.stpg.dev/:path*",},+ // Handle custom domains (e.g., status.mxkaske.dev)+ {+ source: "/:path*",+ has: [+ { type: "cookie", key: "sp_mode", value: "new" },+ {+ type: "host",+ value: "^(?!.*.openstatus.dev$)(?!openstatus.dev$)(?<domain>.+)$",+ },+ ],+ destination: "https://stpg.dev/:domain/:path*",+ },],};},