diff --git a/vercel.json b/vercel.json index 13670abfa..d20228566 100644 --- a/vercel.json +++ b/vercel.json @@ -34,14 +34,15 @@ ], "redirects": [ { - "source": "/", + "source": "/:path*", "has": [ { "type": "host", "value": "docs.checklyhq.com" } ], - "destination": "https://www.checklyhq.com/docs/" + "destination": "https://www.checklyhq.com/docs/:path*", + "permanent": true }, { "source": "/learn/headless/avoiding-hard-waits(/)?", "destination": "/learn/playwright/waits-and-timeouts", "permanent": true }, { "source": "/learn/headless/basics-clicking-typing(/)?", "destination": "/learn/playwright/clicking-typing-hovering", "permanent": true }, @@ -98,4 +99,4 @@ { "source": "/learn/playwright/getting-started(/)?", "destination": "/learn/playwright/what-is-playwright/", "permanent": true }, { "source": "/learn/playwright/testing-checkout/(/)?", "destination": "/learn/playwright/checkout-testing-guide/", "permanent": true } ] -} \ No newline at end of file +}