Javascript – Web app paths don't work when deployed to Amazon CloudFront
I have a Next.js single page app that uses static paths. If I run it locally, I can navigate to a path, refresh a page and it would work. It also works if I expose the site straight from an…