Skip to content

Open-source status page, incident response and uptime monitoring

chore: domain rewrite

Maximilian Kaske8eab80d782bd
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 7b81f4ee6..377187454 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -100,7 +100,7 @@ const nextConfig = {
{ type: "cookie", key: "sp_mode", value: "new" },
{
type: "host",
- value: "^(?!.*.openstatus.dev$)(?!openstatus.dev$)(?<domain>.+)$",
+ value: "(?<domain>.+)",
},
],
destination: "https://stpg.dev/:domain/:path*",
@@ -137,5 +137,5 @@ module.exports = withSentryConfig(
// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,
- },
+ }
);