My Web App Service running on Linux serves a React App which is has its build files in wwwroot, served using a pm2 process that runs npx serve:
ecosystem.config.js
module.exports = {
apps: [
{
script: "npx serve -s",
},
],
};
This worked fine until serve randomly started serving the entire /home directory instead of the index.html file in the wwwroot. This is what the web page in the browser looks like now.
The pm2 process seems to be running fine.
Any ideas?