I am trying to create a front end development environment.
My AWS skills are clearly not up to scratch but I can't find the answer.
I have my front end running on localhost:8080.
The backend that this front end communicates to is available at the domain api.this.url.co.uk.
The hosted dev environment, we serve the static front end via an S3 bucket. This works fine but the backend refuses anything that is from a different origin to this so my localhost does not work.
I did not create the original setup and dont understand how this EC2 is allowing requests made from the S3 origin and not others.
I see no code or configuration in the backend code that speaks of cors with the exception of an allow * which is clearly not being used.
Thanks