-
Notifications
You must be signed in to change notification settings - Fork 343
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
Axum cannot route properly as proxy lambda to API gatway because the stage name is passed through #782
Comments
On way to get around this is to add a nested route which reads from an environment variable. This isn't ideal but works for now.
|
You can disable that behavior, I've documented how to do it in #784 |
Thank you!! |
|
As seen on this example page, you are using axum to route the incoming request.
I have a router set up something like this:
This lambda works great when tested from the AWS Lambda console, but fails when called from the API gateway.
I have not configured any stage for this API but still the
test-invoke-stage
prefix in on the api request.How can I remove this or deal with it in the router?
The text was updated successfully, but these errors were encountered: