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
gefragt vor 3 Jahren861 Aufrufe
1 Antwort
1

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

Mako
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen