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
已提问 3 年前861 查看次数
1 回答
1

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

Mako
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则