Skip to content

Commit

Permalink
Remove ngrok region argument
Browse files Browse the repository at this point in the history
  • Loading branch information
markmetcalfe committed Nov 27, 2024
1 parent f3510ae commit 3851491
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ HOST_IP=host.docker.internal
# If not specified tdb will use the folder "tdb_backup" in your home directory
#TDB_BACKUP_PATH=/your/path/to/backup/location

# Set this to a region close to you for better page loading times when using ngrok
# Available ngrok regions: us (Ohio), eu (Frankfurt), ap (Singapore), au (Sydney), sa (Sao Paulo), jp (Tokyo), in (Mumbai)
NGROK_REGION=au

# Set your preferred shell (used by things like tphp). bash and zsh are available.
INTERACTIVE_SHELL=zsh

Expand Down
6 changes: 1 addition & 5 deletions bin/tngrok
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ Usage Examples:
exit;
fi

if [ -z $NGROK_REGION ]; then
NGROK_REGION="us"
fi

if [ ! -z $2 ]; then
subdomain="-subdomain=$2"
fi

ngrok http --region=$NGROK_REGION $subdomain --host-header=rewrite "https://$1:8443"
ngrok http $subdomain --host-header=rewrite "https://$1:8443"

0 comments on commit 3851491

Please sign in to comment.