We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdfe8b4 commit ea13439Copy full SHA for ea13439
demo/ngrok-wait.sh
@@ -21,8 +21,13 @@ if ! [ -z "$TAILS_NGROK_NAME" ]; then
21
else
22
echo " not found"
23
fi
24
- export PUBLIC_TAILS_URL=$NGROK_ENDPOINT
25
- echo "Fetched ngrok tails server endpoint [$PUBLIC_TAILS_URL]"
+ if [ -z "$NGROK_ENDPOINT" ] || [ "$NGROK_ENDPOINT" = "null" ]; then
+ # setting PUBLIC_TAILS_URL to null confuses the agent because "null" is a truthy value in Python
26
+ echo "PUBLIC_TAILS_URL not set and ngrok not available"
27
+ else
28
+ export PUBLIC_TAILS_URL=$NGROK_ENDPOINT
29
+ echo "Fetched ngrok tails server endpoint [$PUBLIC_TAILS_URL]"
30
+ fi
31
32
33
export AGENT_NAME=$1
0 commit comments