Skip to content

Commit

Permalink
feat: en latest redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Lin committed Feb 16, 2023
1 parent 4dbe8b0 commit becad01
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{
"public": false,
"cleanUrls": true
"cleanUrls": true,
"redirects": [
{ "source": "/en/latest", "destination": "/", "permanent": true },
{ "source": "/en/latest/", "destination": "/", "permanent": true },
{
"source": "/en/latest/:match*",
"destination": "/:match*",
"permanent": true
},
{ "source": "/en/stable", "destination": "/", "permanent": true },
{ "source": "/en/stable/", "destination": "/", "permanent": true },
{
"source": "/en/stable/:match*",
"destination": "/:match*",
"permanent": true
}
]
}

0 comments on commit becad01

Please sign in to comment.