How to setting CORS mode on frontend side in GraphQL/AWS Amplify?

1

We are developing an amplify app, using js. client library, client is written in VueJS and hosted on S3. Now we wanna secure our site by adding cors, which allow only our site can request graphql api. There is no configuration to do it. Please help, thanks.

  • How are you deploying/configuring your bucket? Console (UI), Cloudformation, or something different?

Aucune réponse

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