Skip to content

Open-source status page, incident response and uptime monitoring

wtf: rewrite

Maximilian Kaskeb54d321396ba
diff --git a/apps/status-page/src/middleware.ts b/apps/status-page/src/middleware.ts
index fad7bf6aa..ff02d103f 100644
--- a/apps/status-page/src/middleware.ts
+++ b/apps/status-page/src/middleware.ts
@@ -17,7 +17,7 @@ export default async function middleware(req: NextRequest) {
const hostnames = host?.split(/[.:]/) ?? url.host.split(/[.:]/);
const pathnames = url.pathname.split("/");
- console.log({ hostnames, pathnames });
+ console.log({ hostnames, pathnames, host, urlHost: url.host });
if (
hostnames.length > 2 &&