chore: refine routing in vercel.json and set consistent base paths in vite.config.ts and router.tsx

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