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

getApi() loses reference to NgrokClient when called in separate module #252

Open
Collin-St opened this issue Oct 15, 2021 · 0 comments
Open

Comments

@Collin-St
Copy link

When calling getApi() from a module separate from where ngrok.connect() was called, reference to NgrokClient is lost and getApi() returns null.

getApi() should:

  • retain reference to NgrokClient, or be able to recreate it
  • return a working instance of NgrokClient for an ngrok process running outside of the node library
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

1 participant