Skip to content

Commit

Permalink
Merge pull request #3286 from webkom/replace-urlparse-with-urlsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarnakken committed Apr 13, 2023
2 parents 597ecf4 + e5865ab commit 9a662c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lego/apps/ical/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from urllib.parse import urlparse
from urllib.parse import urlsplit

from django.conf import settings
from django.http import HttpResponse
Expand Down Expand Up @@ -83,7 +83,7 @@ def render_ical_response(feed, calendar_type):


def get_frontend_domain():
return urlparse(settings.FRONTEND_URL).netloc
return urlsplit(settings.FRONTEND_URL).netloc


def get_calendar_name(calendar_type):
Expand Down

0 comments on commit 9a662c1

Please sign in to comment.