Closed joefitter closed 3 months ago
Honox recognizes middeware and is therefore other reason. I will take a look.
Hi @joefitter
Thanks for your report! I've fixed it and released the new version v0.1.20
which includes the change. Try it!
great stuff, thanks for sorting it so quickly
What version of HonoX are you using?
0.1.12
What steps can reproduce the bug?
Nested non-parameter folders work as expected - eg /foo/bar/_middleware.ts
What is the expected behavior?
The _middleware.ts should be run before all routes and sub routes in the directory
What do you see instead?
It doesn't trigger at all for any parameter folders (
[id]
)Additional information
No response