Openstatus www.openstatus.dev

maybe?

+1 -1
+1 -1
apps/status-page/src/middleware.ts
··· 124 124 125 125 console.log({customDomain: _page.customDomain, host, expectedHost: `${_page.slug}.stpg.dev`}) 126 126 if (_page.customDomain && url.host !== `${_page.slug}.stpg.dev`) { 127 - if (pathnames.length > 2) { 127 + if (pathnames.length > 2 && !subdomain) { 128 128 const pathname = pathnames.slice(2).join("/"); 129 129 const rewriteUrl = new URL(`/${_page.slug}/${pathname}`, req.url); 130 130 rewriteUrl.search = url.search;