diff --git a/python/api/tunnel.py b/python/api/tunnel.py index 62f95f2f0..8279330f1 100644 --- a/python/api/tunnel.py +++ b/python/api/tunnel.py @@ -14,7 +14,8 @@ class Tunnel(ApiHandler): if action == "create": port = runtime.get_web_ui_port() - tunnel_url = tunnel_manager.start_tunnel(port) + provider = input.get("provider", "serveo") # Default to serveo + tunnel_url = tunnel_manager.start_tunnel(port, provider) if tunnel_url is None: # Add a little delay and check again - tunnel might be starting import time