هذا الالتزام موجود في:
2026-07-28 08:10:53 +03:00
الأصل 2ff0d279e1
التزام acb4f066f4
8 ملفات معدلة مع 216 إضافات و57 حذوفات

عرض الملف

@@ -3,13 +3,19 @@ set -e
export PYTHONUNBUFFERED=1
PORT="${PORT:-8080}"
# Ensure dashboard.html points to index.html to avoid code duplication
if [ ! -L dashboard.html ] && [ ! -f dashboard.html ]; then
ln -sf index.html dashboard.html
fi
echo "Starting Mithal website background monitor..."
echo "Running initial website check..."
python3 monitor.py --once || true
echo "Starting background website monitor..."
python3 monitor.py &
echo "Starting Mithal web dashboard on port 8080..."
exec python3 -m http.server 8080
echo "Starting web dashboard on port ${PORT}..."
exec python3 -m http.server "${PORT}"