Closed sonigeez closed 5 months ago
4.3.1
node
app.get('/api/v1/users', (c) => { return c.json({ message: 'Hello World' }); });
return {"message":"Hello World"} in both "/api/v1/users" and "/api/v1/users/" routes
{"message":"Hello World"}
404 on "/api/v1/users/" route
No response
Try this option and see!
new Hono({ strict: false, })
thanks
What version of Hono are you using?
4.3.1
What runtime/platform is your app running on?
node
What steps can reproduce the bug?
What is the expected behavior?
return
{"message":"Hello World"}
in both "/api/v1/users" and "/api/v1/users/" routesWhat do you see instead?
404 on "/api/v1/users/" route
Additional information
No response