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???

1개 답변
1

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

Mako
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인