router
router copied to clipboard
How to use a link checker like Lychee with Vaadin Router wildcards
We have a SPA that uses Vaadin Router and would like to employ a broken link checker like Lychee (https://github.com/lycheeverse/lychee), but we have a wildcard in the router to send users to a friendly "page not found" page.
path: '(.*)'
It looks like broken link checkers just look for 404s being returned, but with the wildcard any URL is going to return a 200.
Any ideas on how to get the router (with wildcards) working with a link checker?