1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há 7 meses
Conteúdo relevante
- feita há 4 dias
- feita há 20 dias
- feita há 20 dias
- AWS OFICIALAtualizada há 8 meses
- AWS OFICIALAtualizada há 3 anos
How/where do I set it in API Gateway? The
Enable CORS
option does not seem to work.