Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Child routes resuting 404 error on refresh when hosted in S3
#1
I have a web application developed in angular 4 and build the application using ng build --prod and copied all files of dist folder into S3. I enabled S3 for static web hosting and configured landing page with index.html. The application is working as expected without any issues.

Now, If I refresh my browser, I am getting 404 error instead of existing page. I deployed the similar application in ECS and EC2 as well where I am able to refresh the page without any errors. Is there any solution for this.
Reply


Messages In This Thread
Child routes resuting 404 error on refresh when hosted in S3 - by phanikumar - 10-08-2018, 07:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)