Skip to content

Commit 3851491

Browse files
committed
Remove ngrok region argument
1 parent f3510ae commit 3851491

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.env.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ HOST_IP=host.docker.internal
2020
# If not specified tdb will use the folder "tdb_backup" in your home directory
2121
#TDB_BACKUP_PATH=/your/path/to/backup/location
2222

23-
# Set this to a region close to you for better page loading times when using ngrok
24-
# Available ngrok regions: us (Ohio), eu (Frankfurt), ap (Singapore), au (Sydney), sa (Sao Paulo), jp (Tokyo), in (Mumbai)
25-
NGROK_REGION=au
26-
2723
# Set your preferred shell (used by things like tphp). bash and zsh are available.
2824
INTERACTIVE_SHELL=zsh
2925

bin/tngrok

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,8 @@ Usage Examples:
2121
exit;
2222
fi
2323

24-
if [ -z $NGROK_REGION ]; then
25-
NGROK_REGION="us"
26-
fi
27-
2824
if [ ! -z $2 ]; then
2925
subdomain="-subdomain=$2"
3026
fi
3127

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

0 commit comments

Comments
 (0)