We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you create a free, static domain on the Ngrok dashboard, you get a URL that resembles the one below:
https://<your-static-domain>.ngrok-free.app
I want to use this static domain when running an agent using the JavaScript SDK.
const url = await ngrok.connect({ addr: 5001, authtoken: process.env.NGROK_AUTHTOKEN, subdomain: your-static-domain, });
However, I encounter the following error when I attempt this:
failed to start tunnel: Custom subdomains are a feature on ngrok's paid plans.
How can I resolve this issue and use the free, static domain with the JavaScript SDK?
The text was updated successfully, but these errors were encountered:
sup there
this worked for me in nodejs SDK (npm ngrok)
ngrok.authtoken(secrets.ngrok) ngrok.connect({hostname:"your-static-domain",addr:5000})
You need to use hostname instead of subdomain
I hope that helped
Sorry, something went wrong.
No branches or pull requests
When you create a free, static domain on the Ngrok dashboard, you get a URL that resembles the one below:
https://<your-static-domain>.ngrok-free.app
I want to use this static domain when running an agent using the JavaScript SDK.
However, I encounter the following error when I attempt this:
How can I resolve this issue and use the free, static domain with the JavaScript SDK?
The text was updated successfully, but these errors were encountered: