From 2823619eabe9ae14a4bcd86add3d209e9aee4c24 Mon Sep 17 00:00:00 2001 From: Oliver Ni Date: Wed, 4 Oct 2023 23:35:00 -0700 Subject: [PATCH] Don't use webcal link --- hknweb/events/views/aggregate_displays/calendar.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hknweb/events/views/aggregate_displays/calendar.py b/hknweb/events/views/aggregate_displays/calendar.py index f10bde6a..53942a02 100644 --- a/hknweb/events/views/aggregate_displays/calendar.py +++ b/hknweb/events/views/aggregate_displays/calendar.py @@ -92,9 +92,7 @@ def get_calendars(request, user_access_level: int): ) ical_view, _ = ICalView.objects.get_or_create(user=request.user) - ical_url = request.build_absolute_uri(ical_view.url).replace( - "https://", "webcal://" - ) + ical_url = request.build_absolute_uri(ical_view.url) print(ical_url) calendars.append( {