From 95f04d2fa27a80ef0009888a7311c93bfe1421fb Mon Sep 17 00:00:00 2001 From: habib-deriv Date: Fri, 14 Jun 2024 15:25:37 +0800 Subject: [PATCH] chore: add route change --- themes/gatsby-theme-deriv/gatsby-node.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/themes/gatsby-theme-deriv/gatsby-node.js b/themes/gatsby-theme-deriv/gatsby-node.js index 1d3f74a999a..4c563623f05 100644 --- a/themes/gatsby-theme-deriv/gatsby-node.js +++ b/themes/gatsby-theme-deriv/gatsby-node.js @@ -250,19 +250,6 @@ const BuildPage = (page, actions, region) => { redirectInBrowser: true, isPermanent: true, }) - const mn_path = `/mn${localized_path.slice(0, -1)}` - createRedirect({ - fromPath: mn_path, - toPath: localized_path, - redirectInBrowser: true, - isPermanent: true, - }) - createRedirect({ - fromPath: `${mn_path}/`, - toPath: localized_path, - redirectInBrowser: true, - isPermanent: true, - }) } if (is_responsible_trading) {