Add in bash script to call API
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
# Default values
|
||||
API_URL="http://localhost:8000"
|
||||
API_URL="https://mojofmt.bjsystems.co.uk"
|
||||
API_TOKEN=""
|
||||
REMOVE_EMPTY=false
|
||||
INPUT_FILE=""
|
||||
@@ -295,4 +295,4 @@ else
|
||||
echo "$formatted_text"
|
||||
fi
|
||||
|
||||
echo "Formatting completed successfully." >&2
|
||||
echo "Formatting completed successfully." >&2
|
||||
|
Reference in New Issue
Block a user