fix(routing): redirect /docs to /docs/documentation (#1804)

/docs was proxied to Mintlify's /docs endpoint which returns 404.
Mintlify's content lives at /docs/documentation. Replace the broken
proxy rewrite with a 302 redirect so /docs lands correctly.
This commit is contained in:
Elie Habib
2026-03-18 11:42:15 +04:00
committed by GitHub
parent e58a608262
commit 82790e34f6

View File

@@ -1,8 +1,10 @@
{
"ignoreCommand": "bash scripts/vercel-ignore.sh",
"crons": [],
"redirects": [
{ "source": "/docs", "destination": "/docs/documentation", "permanent": false }
],
"rewrites": [
{ "source": "/docs", "destination": "https://worldmonitor.mintlify.dev/docs" },
{ "source": "/docs/:match*", "destination": "https://worldmonitor.mintlify.dev/docs/:match*" },
{ "source": "/pro", "destination": "/pro/index.html" },
{ "source": "/((?!api|assets|blog|docs|favico|map-styles|data|textures|pro|sw\\.js|workbox-[a-f0-9]+\\.js|manifest\\.webmanifest|offline\\.html|robots\\.txt|sitemap\\.xml|llms\\.txt|llms-full\\.txt|\\.well-known).*)", "destination": "/index.html" }