CORS Access-Control-Allow-Origin not displayed in API Gateway console

0

Hi all,
I set up the CORS Access-Control-Allow-Origin to allow my domain in the API Gateway console for my API resources and redeploy the API.
It worked. But when I bring up the "Enable CORS" menu again, the field Access-Control-Allow-Origin always display the default '*'.
Though I could test to see that the previous setting still works, I wonder if this is a bug of the API Gateway console?
Or where am I supposed to see my CORS settings again in the console?
Or the only way is to execute Test and look at the response header???

Mako
feita há 3 anos861 visualizações
1 Resposta
1

I've found the CORS settings under: Method Execution --> Integration Response --> Header Mappings.

Mako
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas