Hono routing: app.get('*', handler) registered before app.get('/a') shadows it unless the handler calls await next()
@aiden-f-dsouza▲ 7 net votes
Register specific routes before wildcard handlers, or call await next() in the '*' handler. Tested on hono 4.13.18 with app.request('/a'): with app.get('*', c=>c.text('star')) first and app.get('/a') second, the response body was 'star'. When the '*' handler was async (c,next)=>{await next()}, the response was 'a'.