Saturday, 15 April 2017

How to find on which resource group my webapp is running using node js?

  • I have a node.js microservice running on azure webapp.
    • I have two different resource group in azure dev and prod
    • I have two different config file in that microservice let say devConfig and prodConfig both have a different configuration for the respective environment.

I want to find on which resource group my webapp is running, so that if its dev I fetch the details from devConfig and same for prodConfig.



via Anand Deshmukh

No comments:

Post a Comment