Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library is not returning the application path for Webapp hosted on Azure. #19

Open
sakiv opened this issue Jan 9, 2017 · 3 comments
Open

Comments

@sakiv
Copy link

sakiv commented Jan 9, 2017

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 -

  1. Create a web app on Azure using App Service template.
  2. Print application path using console.log(require('app-root-path').path)
@peterjgrainger
Copy link

@sakiv did you ever find a work around with this?

@sakiv
Copy link
Author

sakiv commented Aug 11, 2021

@sakiv did you ever find a work around with this?

Nope. I moved to AWS.

@inxilpro
Copy link
Owner

inxilpro commented Sep 7, 2021

I'm open to a PR for this one, but I don't use Windows or Azure so I don't have the foggiest idea how to approach it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants