Skip to content

Commit

Permalink
feat: include version (laravel#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALameLlama authored Jan 29, 2024
1 parent 678475b commit 2c64937
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/create-ngrok.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ PATH_NGROK="/home/vagrant/.config/ngrok"
PATH_CONFIG="${PATH_NGROK}/ngrok.yml"

# Only create a ngrok config file if there isn't one already there.
if [ ! -f $PATH_CONFIG ]
then
mkdir -p $PATH_NGROK && echo "web_addr: $1:4040" > $PATH_CONFIG
if [ ! -f $PATH_CONFIG ]; then
mkdir -p "$PATH_NGROK"
cat > "$PATH_CONFIG" << EOF
version: 2
web_addr: $1:4040
EOF
fi

0 comments on commit 2c64937

Please sign in to comment.