From 88a7bfa497dfaed488bd9142f48b2b0e511c4d7f Mon Sep 17 00:00:00 2001 From: fatsbrown <123950591+fatsbrown@users.noreply.github.com> Date: Thu, 21 May 2026 09:39:49 -0300 Subject: [PATCH] Fix uploading to Intervals.icu Closes #517 --- zwift_offline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zwift_offline.py b/zwift_offline.py index c9eafc9..28801a3 100644 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -2379,7 +2379,7 @@ def intervals_upload(player_id, activity): athlete_id, api_key = decrypt_credentials(intervals_credentials) try: from requests.auth import HTTPBasicAuth - url = 'http://intervals.icu/api/v1/athlete/%s/activities?name=%s' % (athlete_id, activity.name) + url = 'https://intervals.icu/api/v1/athlete/%s/activities?name=%s' % (athlete_id, activity.name) requests.post(url, files = {"file": BytesIO(activity.fit)}, auth = HTTPBasicAuth('API_KEY', api_key)) except Exception as exc: logger.warning("Intervals.icu upload failed. No internet? %s" % repr(exc))