Page Titles & All Photos Page #5

Merged
me merged 14 commits from dev into main 2025-06-06 08:02:52 -07:00
4 changed files with 279 additions and 133 deletions
Showing only changes of commit add3a2865c - Show all commits

10
run.sh
View File

@ -78,6 +78,16 @@ npm install
# Reset generated index files.
echo "`date` - Removing old index files."
find files/photos/ -name "*".html -print -delete
{
http_code=0
while [[ $http_code != "200" ]]; do
sleep 1
echo "`date` - Checking if /photos/ is ready yet."
http_code="`curl --silent --fail --w '\n%{http_code}' localhost:8080/photos | tail -n 1`"
echo "`date` - Check for /photos/ responded with '$http_code'."
done
echo "`date` - Finished loading /photos/."
} &
## Main ##