You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown in the snippet below, when using hono's cloudflare pages handler, it doesn't inherit the 404 handler of the original app, so it responds with Hono's generic plaintext 404 (thanks to new Hono().route(...))
Yes, you are right. app.route() does not inherit the Not Found handler of "subApp". So we were about to deprecate passing the path as the second argument. Instead, we will recommend specifying base path with the basePath method:
As shown in the snippet below, when using hono's cloudflare pages handler, it doesn't inherit the 404 handler of the original app, so it responds with Hono's generic plaintext 404 (thanks to
new Hono().route(...)
)hono/src/adapter/cloudflare-pages/handler.ts
Lines 17 to 22 in fea78f2
The text was updated successfully, but these errors were encountered: