ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

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

Open Collin-St opened this issue 2 years ago • 0 comments

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

Collin-St avatar Oct 15 '21 03:10 Collin-St