Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 08:03:09 +01:00
parent 6157443144
commit d6e1888ec2
2 changed files with 4 additions and 2 deletions

View file

@ -8,5 +8,6 @@ STATUS_CODE="${1:-500}"
: "${API_PORT:=8000}"
curl --silent --show-error --verbose "http://localhost:$API_PORT" \
curl --silent --show-error --verbose \
"http://localhost:$API_PORT" \
--header "force-fail: $STATUS_CODE"

View file

@ -6,4 +6,5 @@ source .env
: "${API_PORT:=8000}"
curl --silent --show-error --verbose "http://localhost:$API_PORT"
curl --silent --show-error --verbose \
"http://localhost:$API_PORT"