Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use a link checker like Lychee with Vaadin Router wildcards #757

Open
Canuckaholic opened this issue Mar 25, 2022 · 0 comments
Open

Comments

@Canuckaholic
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant