Skip to content

Commit

Permalink
fix: vercel json redirect including trail slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Lin committed Feb 18, 2023
1 parent 09b3133 commit b676c0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
{ "source": "/en/latest", "destination": "/", "permanent": true },
{ "source": "/en/latest/", "destination": "/", "permanent": true },
{
"source": "/en/latest/:match*",
"destination": "/:match*",
"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*",
"source": "/en/stable/:match(.*)",
"destination": "/:match(.*)",
"permanent": true
}
]
Expand Down

1 comment on commit b676c0c

@vercel
Copy link

@vercel vercel bot commented on b676c0c Feb 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.