mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
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:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user