Skip to content

Open-source status page, incident response and uptime monitoring

fix: proxy

Maximilian Kaske0d239ea3d5b1
diff --git a/apps/status-page/src/proxy.ts b/apps/status-page/src/proxy.ts
index b045a9b69..9a97e051c 100644
--- a/apps/status-page/src/proxy.ts
+++ b/apps/status-page/src/proxy.ts
@@ -44,7 +44,7 @@ export default async function _proxy1(req: NextRequest) {
console.log({ pathname: url.pathname, type, prefix, subdomain });
- if (url.pathname === "/" && type !== "hostname" && subdomain !== null) {
+ if (url.pathname === "/" && type !== "hostname" && subdomain === null) {
return response;
}