Revert "feat: migrate /apps/routing-forms/forms to /routing (#18001)"
This reverts commit 1de007ad21.
This commit is contained in:
1 parent
187a2c576e
commit
9c127cbfc2
10 files changed
+7
-223
No files matched your search
@@ -41,10 +41,6 @@ const middleware = async (req: NextRequest): Promise<NextResponse<unknown>> => {
|
||||
}
|
||||
}
|
||||
|
||||
if (url.pathname.startsWith("/apps/routing-forms/forms")) {
|
||||
return NextResponse.redirect(new URL("/routing", url.origin), { headers: requestHeaders });
|
||||
}
|
||||
|
||||
const routingFormRewriteResponse = routingForms.handleRewrite(url);
|
||||
if (routingFormRewriteResponse) {
|
||||
return responseWithHeaders({ url, res: routingFormRewriteResponse, req });
|
||||
@@ -167,7 +163,7 @@ export const config = {
|
||||
* Paths required by routingForms.handle
|
||||
*/
|
||||
"/apps/routing_forms/:path*",
|
||||
"/apps/routing-forms/forms",
|
||||
|
||||
"/event-types",
|
||||
"/future/event-types/",
|
||||
"/apps/installed/:category/",
|
||||
|
||||
Reference in new issue
Block a user