You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hosted a node application on Azure as Web App which is using app-root-path library to resolve the file paths. It is resolving to iisnode directory which is the node handler for IIS (D:\Program Files\iisnode) whereas application is hosted in different folder, i.e. D:\home\site\wwwroot.
Steps to reproduce -
Create a web app on Azure using App Service template.
Print application path using console.log(require('app-root-path').path)
The text was updated successfully, but these errors were encountered:
Hosted a node application on Azure as Web App which is using app-root-path library to resolve the file paths. It is resolving to iisnode directory which is the node handler for IIS (
D:\Program Files\iisnode
) whereas application is hosted in different folder, i.e.D:\home\site\wwwroot
.Steps to reproduce -
console.log(require('app-root-path').path)
The text was updated successfully, but these errors were encountered: