tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
wtf: rewrite
Maximilian Kaske
5 months ago
b54d3213
4d267863
+1
-1
1 changed file
expand all
collapse all
unified
split
apps
status-page
src
middleware.ts
+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
20
-
console.log({ hostnames, pathnames });
20
20
+
console.log({ hostnames, pathnames, host, urlHost: url.host });
21
21
22
22
if (
23
23
hostnames.length > 2 &&