Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
any way to have different .notFound depending on parent path ? - Hono
H
Hono
•
16mo ago
•
1 reply
ronan(wighawag)
any way to have different .notFound depending on parent path ?
I have 2 main path
:
api
dashboard
I would like anything path under api
/
.
.
.
. that do not exit to return a json object
but anything under dashboard
/
.
.
. to return a web page for not found
is that possible and how
?
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Any way to modify the request path in middleware?
H
Hono / help
2y ago
Any way to use @hono/auth-js without frontend?
H
Hono / help
15mo ago
Is there any way to mock cookies using testing helpers?
H
Hono / help
16mo ago
Can app.notFound be customized for each Hono instance?
H
Hono / help
16mo ago