I have deployed a simple node based web app in Azure. Following is the structure of my code:
In my js code, when I do an xhr.get call to my js
xhr.get
It's a common issue of Azure Website which be lack of the mimetype setting for static json file, please refer to the blog. You just need to add the configurate below into your web.config file under wwwroot.
mimetype
web.config
wwwroot
Then it works via your browser.