fixed bugs
هذا الالتزام موجود في:
@@ -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}"
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم