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?

没有答案

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

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

回答问题的准则