AWS Deployed App URL Error with extra "/" -- "example.com//api"

Viewed 17

I deployed example.com to AWS, used:

  • S3 for angular frontend with cloudfront
  • Elastic Beanstack for the Nodejs api with SSL certificate.

When I go to the domain example.com, the elastic beanstalk https response is this https://api.example.com//api which errors 404 (//api). But the route example.com/home responds with data.

My initial thought it coz domain hits the root route "/", but I have this configured for the healthcheck.

0 Answers
Related