Skip to content

Commit

Permalink
feat: add versioned redirect for the current version
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Oct 25, 2024
1 parent 14ca869 commit 1f6dccb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"destination": "/docs/:url",
"statusCode": 301
},
{
"source": "/docs/v6.6/:url*",
"destination": "/docs/:url",
"statusCode": 301
},
{
"source": "/docs/v6.5/:url(^(?!.*\\.).*[^/]$)",
"destination": "/docs/v6.5/:url.html",
Expand Down

0 comments on commit 1f6dccb

Please sign in to comment.