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
demandé il y a 3 ans861 vues
1 réponse
1

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

Mako
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions