fix: docs redirects (#33821)

Redirects weren't working because they were listed in the wrong order: the first listed ones should have higher priority.
This commit is contained in:
Charis
2025-02-24 17:31:47 -05:00
committed by GitHub
parent 46a0e80a10
commit f8c2ab839b

View File

@@ -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',