Open dhuang612 opened 5 years ago
function localtunnel { lt -s YOUR_SUBDOMAIN --port 5000 } until localtunnel; do echo "localtunnel server crashed" sleep 2 done This line should be changed from this: lt -s YOUR_SUBDOMAIN --port 5000
function localtunnel { lt -s YOUR_SUBDOMAIN --port 5000 } until localtunnel; do echo "localtunnel server crashed" sleep 2 done
lt -s YOUR_SUBDOMAIN --port 5000
to this: lt --subdomain YOUR_SUBDOMAIN --port 5000
lt --subdomain YOUR_SUBDOMAIN --port 5000
according to their github page https://github.com/localtunnel/localtunnel
function localtunnel { lt -s YOUR_SUBDOMAIN --port 5000 } until localtunnel; do echo "localtunnel server crashed" sleep 2 done
This line should be changed from this:lt -s YOUR_SUBDOMAIN --port 5000
to this:
lt --subdomain YOUR_SUBDOMAIN --port 5000
according to their github page https://github.com/localtunnel/localtunnel