Skip to content

Commit

Permalink
fix: redirect all docs. traffic to /docs (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnolet authored Jan 8, 2025
1 parent 2a422b9 commit a6dcf37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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 }
]
}
}

0 comments on commit a6dcf37

Please sign in to comment.