diff --git a/next.config.js b/next.config.js index 2a141331..e4a084ad 100644 --- a/next.config.js +++ b/next.config.js @@ -127,7 +127,7 @@ const permanentRedirectArray = [ ["/price-feeds/lazer", "/price-feeds/pro"], ["/price-feeds/lazer/:path*", "/price-feeds/pro/:path*"], - ["/price-feeds/:path((?!core/|pro/).*)", "/price-feeds/core/:path"], + ["/price-feeds/:path((?!core/|pro(?:/|$)).*)", "/price-feeds/core/:path"], // some other price feed redirects ["/price-feeds/sponsored-feeds", "/price-feeds/push-feeds"], [