Skip to content
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

[404 Not Found] API Gateway HTTP Protocol Path Matching with stage #653

Open
anne-montoya opened this issue May 24, 2023 · 3 comments
Open

Comments

@anne-montoya
Copy link

We have an HTTP protocol API that has 2 deployment stages: test and prod.
My understanding is the way the package match for a path is through the API Gateway Event rawPath property.
When the API has stages the rawPath will look like this /{stage}/my-path and will not match with any path.

@brett-vendia
Copy link
Contributor

Could you try the v5 branch #649? We'll merge this after additional verification.

@mococa
Copy link

mococa commented Jun 9, 2023

please, fix this, I'm really craving this change. I don't want to have to buy a domain to test a simple feature in a framework i'm working on to get up and running with it

@DavidFlorin
Copy link

DavidFlorin commented Apr 3, 2024

I have defined the routes using /:stage?/my-path so I can capture the stage and ignore it. I wait for v5 so I can get rid of this workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants