Fix middleware not executed when pages directory is empty (#43205)
Fixes #41995
Closes #43144
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
Co-authored-by:
Bruno Nascimento <bruno.hn@icloud.com>
Showing
Please
register
or
sign in
to comment