Openstatus www.openstatus.dev

wtf: rewrite

+1 -1
+1 -1
apps/status-page/src/middleware.ts
··· 17 17 const hostnames = host?.split(/[.:]/) ?? url.host.split(/[.:]/); 18 18 const pathnames = url.pathname.split("/"); 19 19 20 - console.log({ hostnames, pathnames }); 20 + console.log({ hostnames, pathnames, host, urlHost: url.host }); 21 21 22 22 if ( 23 23 hostnames.length > 2 &&