Promoting hotfix v1.9.11.1 --------- Co-authored-by: Tolulope Adetula <31691737+Tooluloope@users.noreply.github.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com>
19 lines
438 B
Bash
19 lines
438 B
Bash
#!/bin/bash
|
|
|
|
cd ~
|
|
if [ ! -f "ngrok-v3-stable-linux-amd64.tgz" ]; then
|
|
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
|
|
gunzip ngrok-v3-stable-linux-amd64.tgz
|
|
tar -xvf ngrok-v3-stable-linux-amd64.tar
|
|
else
|
|
echo "Starting ngrok"
|
|
fi
|
|
|
|
if [ -z "$1" ]; then
|
|
read -p "Please enter ngrok token: " value
|
|
else
|
|
value="$1"
|
|
fi
|
|
./ngrok config add-authtoken $value
|
|
./ngrok http 80
|