localtunnel / server

server for localtunnel.me
https://localtunnel.me
MIT License
2.98k stars 964 forks source link

API Endpoint to get info about a tunnel #178

Closed Arnolxu closed 2 years ago

Arnolxu commented 2 years ago

Something like /api/tunnel/<subdomain> would be nice to learn if the tunnel exists and what's the port if it exists.

TheBoroer commented 2 years ago

I believe that already exists here

Have a look at: /api/tunnels/<subdomain>/status when you're connected

Arnolxu commented 2 years ago

Oh, thanks! I thought it didn't exist because it wasn't documented in README.md.