-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routing groups in Go 1.22 #468
Comments
Your code works fine for me on go 1.22.2 and Huma v2.18.0
|
Thank you @LeeSaferite . I copied and ran your code locally (Go 1.22.4, Huma 2.18.0). In Chrome (usual window): In Chrome (private mode): In curl: So in other words, there is something fishy going on with my browser that causes URL re-writing :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you help me understand why the following code is not routed properly to Huma?
Basically, the "/api/" gets stripped and then I end up with just "/" everywhere. I can't call the healthcheck or the OpenAPI docs.
The text was updated successfully, but these errors were encountered: