tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
🤗
thibault.tngl.sh
5 months ago
7cb1ae78
237481ec
+4
1 changed file
expand all
collapse all
unified
split
apps
status-page
src
middleware.ts
+4
apps/status-page/src/middleware.ts
···
84
84
return NextResponse.rewrite(new URL(`/${prefix}${url.pathname}`, req.url));
85
85
}
86
86
87
87
+
if(_page?.customDomain){
88
88
+
return NextResponse.rewrite(new URL(`/${_page.slug}`, req.url));
89
89
+
}
90
90
+
87
91
return response;
88
92
}
89
93