readded gunicorn

This commit is contained in:
ash
2026-03-31 09:01:05 +01:00
parent 2b80fabeee
commit be3823db16
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ def get_garmin_data():
# --- Return test data if in test mode ---
if TEST_MODE:
print("⚡ Test mode enabled, returning hardcoded data")
return {"total_km": 70, "goal_km": 100, "percent": 12.6, "status": "success"}
return {"total_km": 70, "goal_km": 235, "percent": 12.6, "status": "success"}
# --- RETURN CACHED DATA ---
if cached_data and (now - last_fetch_time < CACHE_TTL):