From 6639af301a903f7f2e3a899850e368bd155979a8 Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Mon, 10 Nov 2025 14:23:49 -0500 Subject: [PATCH 1/2] fix(redirects) Core --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index db544714..2e924e03 100644 --- a/next.config.js +++ b/next.config.js @@ -131,7 +131,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"], ["/price-feeds/core/sponsored-feeds", "/price-feeds/core/push-feeds"], From 8a6e72b312159355a52bb3c1b1900b7cecb74ada Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Mon, 10 Nov 2025 14:26:17 -0500 Subject: [PATCH 2/2] pre-commit --- next.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 2e924e03..2d4fbade 100644 --- a/next.config.js +++ b/next.config.js @@ -131,7 +131,10 @@ 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"], ["/price-feeds/core/sponsored-feeds", "/price-feeds/core/push-feeds"],