···102102 value: "(?<slug>[^.]+)\\.(openstatus\\.dev|localhost)",
103103 },
104104 ],
105105- // NOTE: we don't need the slug `/:slug/:path*` here because it will already be applied in the rewrites in the status-page app as subdomain
106106- destination: `http://${NEW_HOST}/:path*`,
105105+ // NOTE: might be different on prod and localhost (without :slug)
106106+ destination: `http://${NEW_HOST}/:slug/:path*`,
107107 },
108108 ],
109109 };
···137137138138 // Automatically tree-shake Sentry logger statements to reduce bundle size
139139 disableLogger: true,
140140- },
140140+ }
141141);