aws-samples / amazon-cloudfront-functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirection problem with Nextjs application deployed on aws s3 and cloundfront as static application

saharJ95 opened this issue · comments

I have a Cloudfront distribution created from aws console with a custom domain
Applications work fine except when Refreshing the route, refreshing the app goes to the index.html page

Example:
/apps/user/list route to /apps/index.html