I have my api server on an ec2 instance and routed to it with cloudfront, the static part of the site is hosted on s3. I\'n my react app on trying to hit the route "https:/