1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You have to also enable CORS on API Gateway itself as well AND manage it on lambda too.
On API Gateway, set allowed origins to *
and keep your lambda code the same.
Later on when you want to deploy, leave API Gateway as *
, but then specify your domain within the lambda function.
Let me know if this helps
répondu il y a 7 mois
Contenus pertinents
- demandé il y a 2 ans
- demandé il y a 8 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 8 mois
How/where do I set it in API Gateway? The
Enable CORS
option does not seem to work.