Allows setting a custom region
This commit is contained in:
parent
df6ad67c4a
commit
5d612361f4
|
@ -43,6 +43,11 @@ elif [ -n "$NGROK_HOSTNAME" ] || [ -n "$NGROK_SUBDOMAIN" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set a custom region
|
||||||
|
if [ -n "$NGROK_REGION" ]; then
|
||||||
|
ARGS="$ARGS -region=$NGROK_REGION "
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$NGROK_HEADER" ]; then
|
if [ -n "$NGROK_HEADER" ]; then
|
||||||
ARGS="$ARGS -host-header=$NGROK_HEADER "
|
ARGS="$ARGS -host-header=$NGROK_HEADER "
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue