Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Korny
Posts
Comments
H
Hono
•
Created by Korny on 5/8/2024 in
#help
Any way to modify the request path in middleware?
I also killed off the zod-openapi middleware, so I can hide endpoints like
/v1/foo
from our API docs.
6 replies
H
Hono
•
Created by Korny on 5/8/2024 in
#help
Any way to modify the request path in middleware?
For now though I just moved to
on('GET', ['/foo','/v1/foo'],...
- had to upgrade hono to get there!
6 replies
H
Hono
•
Created by Korny on 5/8/2024 in
#help
Any way to modify the request path in middleware?
yeah, I could add a redirect inside our k8s cluster (we already have some)
6 replies