alexdlaird / pyngrok

A Python wrapper for ngrok
https://pyngrok.readthedocs.io
MIT License
416 stars 59 forks source link

open tunnerl with own doamin not ngrok #95

Closed dustinpeng closed 2 years ago

dustinpeng commented 2 years ago

I am using ngrok.connect(80, bind_tls=True, subdomain='xxx') to open tunnel to xxx.ngrok.io but now I want to use my own domain like described here: https://ngrok.com/docs -> Tunnels on custom domains (white label URLs) what command should I use? subdomain is not a proper parameter. thanks.

dustinpeng commented 2 years ago

I got it worked. add the parameter hostname is fine.