I am trying to deploy an Angular app to Cloudfront, while the server (written in Java-Spring Boot) is on Elastic Beanstalk. The login (a POST method) step works fine, but a