Openyx commited on
Commit
5fa5166
·
verified ·
1 Parent(s): c40dc4d

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -2
entrypoint.sh CHANGED
@@ -11,12 +11,12 @@ sleep 2
11
 
12
  echo "Creating public tunnel..."
13
  # Try with the requested subdomain first
14
- if npx localtunnel --local-host 7860 --subdomain "${SUBDOMAIN}"; then
15
  echo "Tunnel established: https://${SUBDOMAIN}.loca.lt"
16
  else
17
  echo "Subdomain '${SUBDOMAIN}' is taken or an error occurred. Falling back to random subdomain..."
18
  # Now let localtunnel generate a random subdomain (blocking call)
19
- npx localtunnel --local-host 7860
20
  fi
21
 
22
  # Cleanup when the tunnel exits
 
11
 
12
  echo "Creating public tunnel..."
13
  # Try with the requested subdomain first
14
+ if npx localtunnel --port 7860 --subdomain "${SUBDOMAIN}"; then
15
  echo "Tunnel established: https://${SUBDOMAIN}.loca.lt"
16
  else
17
  echo "Subdomain '${SUBDOMAIN}' is taken or an error occurred. Falling back to random subdomain..."
18
  # Now let localtunnel generate a random subdomain (blocking call)
19
+ npx localtunnel --port 7860
20
  fi
21
 
22
  # Cleanup when the tunnel exits