From 98e6d5d1b90c51eb5c20fafb673b0e07daa504e6 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Thu, 30 May 2024 19:31:48 +0200 Subject: [PATCH] Revert "fix: temporary redirect for Bucks building control service (#3147)" This reverts commit e71a0f9097ab40047ccef3369fbd7d15aa1e4992. --- editor.planx.uk/src/routes/index.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/editor.planx.uk/src/routes/index.tsx b/editor.planx.uk/src/routes/index.tsx index df205af886..1f15826a56 100644 --- a/editor.planx.uk/src/routes/index.tsx +++ b/editor.planx.uk/src/routes/index.tsx @@ -71,12 +71,6 @@ export default isPreviewOnlyDomain }) : mount({ "/:team/:flow/published": lazy(() => import("./published")), // loads current published flow if exists, or throws Not Found if unpublished - "buckinghamshire/apply-for-building-regulations-applications/preview": - map(async (req) => - redirect( - `/buckinghamshire/apply-for-building-regulations-applications/published${req?.search}`, - ), - ), // temporary redirect while Bucks works with internal IT to update advertised service links "/:team/:flow/preview": lazy(() => import("./preview")), // loads current draft flow and latest published external portals, or throws Not Found if any external portal is unpublished "/:team/:flow/draft": lazy(() => import("./draft")), // loads current draft flow and draft external portals "/:team/:flow/pay": mountPayRoutes(),