From b1fd6da218be427cbca48f5364686925f9ef7944 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Mon, 26 Jan 2026 16:41:04 +0100 Subject: [PATCH] Update upload script to allow API URL and key to be set via environment variables --- bin/upload-jmespath | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/upload-jmespath b/bin/upload-jmespath index ea94702..f3a5756 100755 --- a/bin/upload-jmespath +++ b/bin/upload-jmespath @@ -2,8 +2,8 @@ set -euo pipefail -JMESPATH_PLAYGROUND_API_URL="http://localhost:3000" # May be set in bash profile -JMESPATH_PLAYGROUND_API_KEY="" # Required if not localhost +JMESPATH_PLAYGROUND_API_URL="${JMESPATH_PLAYGROUND_API_URL:-http://localhost:3000}" # May be set in bash profile +JMESPATH_PLAYGROUND_API_KEY="${JMESPATH_PLAYGROUND_API_KEY:-}" # Required if not localhost JSON_FILE="-"