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

Main router should be in preemptive mode #1503

Closed
pi0 opened this issue Jul 29, 2023 · 0 comments · Fixed by #1504
Closed

Main router should be in preemptive mode #1503

pi0 opened this issue Jul 29, 2023 · 0 comments · Fixed by #1504
Labels
bug Something isn't working

Comments

@pi0
Copy link
Member

pi0 commented Jul 29, 2023

Related: nuxt/nuxt#22382

Currently, since our main router is not configured with preemptive mode, error messages are not precise about whether it is a matching route or method or path.

Minimal nitro reproduction: https://stackblitz.com/edit/github-hqkfyi?file=routes%2Findex.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant