Skip to content

Open-source status page, incident response and uptime monitoring

wtf: rewrite

Maximilian Kaske9b2270081e6f
diff --git a/apps/status-page/next.config.ts b/apps/status-page/next.config.ts
index d99e79a9e..f52a5300b 100644
--- a/apps/status-page/next.config.ts
+++ b/apps/status-page/next.config.ts
@@ -23,8 +23,8 @@ const nextConfig: NextConfig = {
type: "host",
value:
process.env.NODE_ENV === "production"
- ? "(?<subdomain>[^.]+)\\.stpg\\.dev"
- : "(?<subdomain>[^.]+)\\.localhost",
+ ? "(?<subdomain>[^.]+).stpg.dev"
+ : "(?<subdomain>[^.]+).localhost",
},
],
missing: [
@@ -38,8 +38,8 @@ const nextConfig: NextConfig = {
type: "host",
value:
process.env.NODE_ENV === "production"
- ? "www\\.stpg\\.dev"
- : "www\\.localhost",
+ ? "www.stpg.dev"
+ : "localhost",
},
],
destination: "/:subdomain/:path*",