Azure Web App does not load .json file
I had the same problem a few months ago.I've fixed it by adding to the web.config
these lines of code
<staticContent> <remove fileExtension=".json"/> <mimeMap fileExtension=".json" mimeType="application/json"/></staticContent>
under the nodes
<configuration> <system.webServer>
This essentially says to IIS to serve ALL .json
files as a static file, as by default this feature is disabled.
If you don't have a web.config
file you need to create it in the root folder of your website.
I hope I helped you :)