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?

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas