Skip to content

Commit

Permalink
Don't use webcal link
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Oct 5, 2023
1 parent 0d3895b commit 2823619
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hknweb/events/views/aggregate_displays/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 2823619

Please sign in to comment.