aldigobbler commited on
Commit
9982644
·
verified ·
1 Parent(s): 4ccdd9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -160,6 +160,9 @@ def start_ngrok_tunnel(port=25565):
160
  # Give ngrok a moment to start
161
  import time
162
  time.sleep(3)
 
 
 
163
 
164
  # Try to get the tunnel URL from ngrok API
165
  try:
 
160
  # Give ngrok a moment to start
161
  import time
162
  time.sleep(3)
163
+ stdout, stderr = process.communicate(timeout=1) # Add timeout to avoid hanging
164
+ print("STDOUT:", stdout)
165
+ print("STDERR:", stderr)
166
 
167
  # Try to get the tunnel URL from ngrok API
168
  try: