We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b507e7b commit 40e3d9dCopy full SHA for 40e3d9d
apps/status-page/src/proxy.ts
@@ -200,7 +200,7 @@ export default auth(async (req) => {
200
return NextResponse.rewrite(rewriteUrl);
201
}
202
if (host?.includes("openstatus.dev")) {
203
- const rewriteUrl = new URL(`/${prefix}${url.pathname}`, req.url);
+ const rewriteUrl = new URL(route.rewritePath, req.url);
204
// Preserve search params from original request
205
rewriteUrl.search = url.search;
206
0 commit comments