diff --git a/vercel.json b/vercel.json index d6c41a1a6..f8bba6c3b 100644 --- a/vercel.json +++ b/vercel.json @@ -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 } ]