I used to be serving to a buyer this previous week, and when deploying his Angular code into a web app, the following error message was being displayed:
Greater than typically, the drawback is the place the internet app is configured to search for the internet utility information vs. what is ready on the code. To carry out this easy examine, you’ll be able to examine Kudu tools in the internet app, after which click on on the Debug Console, and choose both CMD or PowerShell.
The interface is easy. Begin by clicking on the graphical Home windows explorer. The immediate will change mechanically to mirror the navigation steps that you’re performing. By default, the internet app working on Home windows could have the website configuration on homesitewwwroot.
As you’ll be able to see in the instance beneath, the developer added one further folder as the root of his utility. To resolve the drawback, we’ve two easy methods: First, speak to the developer and take away that folder and ask her or him to drop all the information in the root with out extra folders. The second strategy is to switch the configuration information.
I am engaged on my diplomatic expertise these days, so I made a decision to take the second strategy. We have to go to the Configuration merchandise in the internet app, then click on on Path mappings, and configure the bodily path to mirror how your utility is being printed, as depicted in the picture beneath.
Put up Views:
Extra Fast Ideas articles