I have a Node.js app with Express as back-end and React for frond-end. I've deployed it into my Azure App Service using Azure DevOps Pipeline and Release where I send the contents of my dist
folder. As I've checked the www folder of my App Service, only the files from my dist
folder was in there.
However when I load the page, only the loading spinner shows. The network tabs shows a Error: Request failed with status code 404
when I'm trying to access a route. It also shows that all of my chunk.js
are loaded.
What am I missing? Should I upload/push all of my app in the App Service or is the files from dist
enough?