CodeGenieApp / CodeGenieApp/serverless-express

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

Offen
#653 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
5.3k
Forks
676
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.