next.js
dbac7552 - fix resolve routes behavior when matching a dynamic segment (#54539)

Commit
2 years ago
fix resolve routes behavior when matching a dynamic segment (#54539) When `fallback: false` is set and you visit a dynamic segment (e.g. `/[slug]`), the router server was getting stuck in a `x-no-fallback` loop and eventually would fail because it was matching the output at `check_fs` before attempting to resolve dynamic routes in the `check: true` block. Closes NEXT-1557
Author
Parents
Loading