Error in Deploying Node.js app on Web app
I want to deploy my Node.js web app through github repo.
I already created a Azure Web App and linked to my github repo with runtime stack NODE ~18. My app includes an app.js file and a public folder with related .html and .js files. I also add these necessary file names into 'Default Documents'.
I also set up the github workflow and environment following this instruction. My Web App was able to deploy succesfully, but the [projectname].azurewebsites.net is only printing my app.js code, instead of the actual web content.
My app.js was able to run successfully on local server using Node.js with version 18.16.0.
Is there any other steps I need to do to successfully deploy my app?