From 6d7ea5d9529b84e03047f0f47aa6a56b2a34bee3 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 16 Jul 2024 09:55:34 +0200 Subject: [PATCH] fix: correct Canterbury redirect (#3430) --- editor.planx.uk/src/routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.planx.uk/src/routes/index.tsx b/editor.planx.uk/src/routes/index.tsx index f2a6bc3449..8d04f89613 100644 --- a/editor.planx.uk/src/routes/index.tsx +++ b/editor.planx.uk/src/routes/index.tsx @@ -74,7 +74,7 @@ export default isPreviewOnlyDomain "canterbury/find-out-if-you-need-planning-permission/preview": map( async (req) => redirect( - `/canterbury-find-out-if-you-need-planning-permission/published${req?.search}`, + `/canterbury/find-out-if-you-need-planning-permission/published${req?.search}`, ), ), // temporary redirect while Canterbury 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