Merge pull request 'Move books branch into dev.' (#8) from books into dev

Reviewed-on: #8
This commit is contained in:
2025-09-19 13:25:12 -07:00
4 changed files with 88 additions and 41 deletions

2
run.sh
View File

@@ -104,7 +104,7 @@ find files/photos/ -name "*".html -print -delete
log "Sleeping for '$count' while waiting for $photos_uri to come up."
sleep $count
log "Checking if $photos_uri is available."
http_code="`curl --silent --fail --w '\n%{http_code}' localhost$photos_uri | tail -n 1`"
http_code="`curl --silent --fail -w '\n%{http_code}' localhost$photos_uri | tail -n 1`"
log "Check for $photos_uri responded with '$http_code'."
if (( $count >= 10 )); then
log "Giving up on loading $photos_uri after '$count' attempts."