nginx needs to serve downloads from the media directory.

This commit is contained in:
Roland 2024-10-01 11:30:23 -06:00
parent 04dbca7bb7
commit 00c4e6ece0
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
9 changed files with 12 additions and 15 deletions

View file

@ -173,13 +173,13 @@ if [ -f /etc/systemd/system/wrolpi-app.service ]; then
fi
fi
if curl -s http://0.0.0.0:5000 | grep -i wrolpi >/dev/null; then
if curl -s http://0.0.0.0:3000 | grep -i wrolpi >/dev/null; then
echo "OK: WROLPi app responded with UI"
else
echo "FAILED: WROLPi app did not respond with UI"
fi
if curl -s http://0.0.0.0:5000/epub/epub.html | grep -i epub.js >/dev/null; then
if curl -s http://0.0.0.0:3000/epub/epub.html | grep -i epub.js >/dev/null; then
echo "OK: WROLPi app responded with ebook interface"
else
echo "FAILED: WROLPi app did not respond with ebook interface"