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?

Keine Antworten

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