From f8c2ab839bba181efa5a8bc6712e9b58cdc4bc7b Mon Sep 17 00:00:00 2001 From: Charis <26616127+charislam@users.noreply.github.com> Date: Mon, 24 Feb 2025 17:31:47 -0500 Subject: [PATCH] fix: docs redirects (#33821) Redirects weren't working because they were listed in the wrong order: the first listed ones should have higher priority. --- apps/www/lib/redirects.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js index b6b0e656f93..6eb65f2a881 100644 --- a/apps/www/lib/redirects.js +++ b/apps/www/lib/redirects.js @@ -2834,11 +2834,6 @@ module.exports = [ source: '/docs/guides/database/connecting-to-postgres/serverless-drivers', destination: '/docs/guides/database/connecting-to-postgres', }, - { - permanent: true, - source: '/docs/guides/monitoring-troubleshooting/:path*', - destination: '/docs/guides/telemetry/:path*', - }, { permanent: true, source: '/docs/guides/monitoring-troubleshooting/troubleshooting', @@ -2869,6 +2864,11 @@ module.exports = [ source: '/docs/guides/monitoring-troubleshooting/http-status-codes', destination: '/docs/guides/troubleshooting/http-status-codes', }, + { + permanent: true, + source: '/docs/guides/monitoring-troubleshooting/:path*', + destination: '/docs/guides/telemetry/:path*', + }, { permanent: true, source: '/partners/experts',