readded gunicorn
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user