- Install ngrok: https://ngrok.com/download
- In terminal:
python -m SimpleHTTPServer 8000
- In other terminal:
ngrok http 8000
- Copy the https link from ngrok
- Replace all previous ngrog url with the new one:
sed -i 's/<old url>/<new url>/g' *
- Browse your ngrok url
/connect-app/connect.html
- In terminal:
kill -9 `ps -ef |grep SimpleHTTPServer |grep 8000 |awk '{print $2}'`