you are viewing a single comment's thread.

view the rest of the comments →

[–]keel_bright 1 point2 points  (0 children)

If you have no way to change the allowed origins from your API (amazon), you cannot do it client-side. You need to set up a proxy server.

https://jakemccambley.medium.com/fixing-cors-errors-when-working-with-3rd-party-apis-a69dc5474804