chore: update vercel.json for improved routing to documentation and add asset path rewrites

This commit is contained in:
Rotimi Best
2025-12-21 21:53:24 +00:00
parent 2591dad3de
commit f4739a1b38
3 changed files with 6 additions and 4 deletions
+6 -2
View File
@@ -2,11 +2,15 @@
"rewrites": [
{
"source": "/docs",
"destination": "https://ciodocs.vercel.app/docs"
"destination": "https://ciodocs.vercel.app"
},
{
"source": "/docs/:path*",
"destination": "https://ciodocs.vercel.app/docs/:path*"
"destination": "https://ciodocs.vercel.app/:path*"
},
{
"source": "/assets/:path*",
"destination": "https://ciodocs.vercel.app/assets/:path*"
}
]
}