From ce878ba0e00df335019b30f3a274698d0090d0e4 Mon Sep 17 00:00:00 2001 From: Sean Dietrich Date: Fri, 18 May 2018 00:58:00 -0700 Subject: [PATCH] Add option to debug if end user wants (#17) * Add option to debug if end user wants Added option for NGROK_DEBUG variable just incase someone wants the standard layout instead * Modified as -n was not working properly * Update entrypoint.sh --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7215ceb..f522e50 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -62,7 +62,9 @@ elif [ -n "$NGROK_USERNAME" ] || [ -n "$NGROK_PASSWORD" ]; then fi fi -ARGS="$ARGS -log stdout" +if [ -n "$NGROK_DEBUG" ]; then + ARGS="$ARGS -log stdout" +fi # Set the port. if [ -z "$NGROK_PORT" ]; then