Check sub-pages survive a refresh
check_routesDetect single-page-app route errors by opening internal links directly, verifying refresh behavior, and confirming unknown URLs return a real 404.
Instructions
Open a site's internal links directly, the way a refresh, bookmark or shared link does. Catches the single-page-app 404 (works when clicked, breaks on refresh) and names the host-specific fix, e.g. the vercel.json rewrite. Also checks that made-up URLs return a real 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to check: a live URL, a preview deployment, or a local dev server like http://localhost:5173 | |
| paths | No | Extra paths to open directly, e.g. ["/about", "/pricing"]. Use this for client-rendered apps whose links are not in the HTML. |