I’ve deployed a simple react app to azure app service and it won’t start:
How do I get the app to run index.html?
Advertisement
Answer
add this command in your azure dashboard > Configuration > Startup Command
pm2 serve /home/site/wwwroot --no-daemon
and restart your server. This fixed it for me!