Skip to content

Commit

Permalink
update vercel redirects (#568)
Browse files Browse the repository at this point in the history
* update vercel redirects

* fix
  • Loading branch information
alexandratran authored Apr 18, 2024
1 parent eb9272d commit d9e994f
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,45 @@
{
"cleanUrls": true,
"redirects": [
{ "source": "/en/latest", "destination": "/development", "permanent": true },
{ "source": "/en/latest/", "destination": "/development", "permanent": true },
{
"source": "/en/latest",
"destination": "/development/introduction",
"permanent": true
},
{
"source": "/en/latest/",
"destination": "/development/introduction",
"permanent": true
},
{
"source": "/en/latest/:match(.*)",
"destination": "/development/:match(.*)",
"permanent": true
},
{ "source": "/en/stable", "destination": "/", "permanent": true },
{ "source": "/en/stable/", "destination": "/", "permanent": true },
{
"source": "/en/stable",
"destination": "/",
"permanent": true
},
{
"source": "/en/stable/",
"destination": "/",
"permanent": true
},
{
"source": "/en/stable/:match(.*)",
"destination": "/:match(.*)",
"permanent": true
},
{
"source": "/development",
"destination": "/development/introduction",
"permanent": true
},
{
"source": "/:path(\\d*\\.\\d*\\.\\d*)",
"destination": "/:path*/introduction",
"permanent": true
}
]
}

0 comments on commit d9e994f

Please sign in to comment.