Delete the index files on each restart.

This commit is contained in:
Hyperling 2025-05-26 16:38:54 -07:00
parent c6fd3f4786
commit c7f4613d22

4
run.sh
View File

@ -75,6 +75,10 @@ done
echo "`date` - Check if any node modules need updated/installed."
npm install
# Reset generated index files.
echo "`date` - Removing old index files."
find files/photos/ -name "*".html -print -delete
## Main ##
echo "`date` - Start website API."