Commit 978bdc77 authored by David Haynes's avatar David Haynes 🙆

Merge branch '113-https-my-links' into '2.2-dev'

Resolve "List https links on my_links page"

See merge request !98
parents 8c33f886 80d8bba4
Pipeline #1315 passed with stages
in 2 minutes and 53 seconds
......@@ -42,7 +42,7 @@ def index(request):
return render(request, 'not_registered.html')
# Get the current domain info
domain = "%s://%s" % (request.scheme, request.META.get('HTTP_HOST')) + "/"
domain = "%ss://%s" % (request.scheme, request.META.get('HTTP_HOST')) + "/"
# Grab a list of all the URL's that are currently owned by the user
urls = URL.objects.filter(owner=request.user.registereduser)
......@@ -182,7 +182,7 @@ def view(request, short):
"""
# Get the current domain info
domain = "%s://%s" % (request.scheme, request.META.get('HTTP_HOST')) + "/"
domain = "%ss://%s" % (request.scheme, request.META.get('HTTP_HOST')) + "/"
# Get the URL that is being requested
url = get_object_or_404(URL, short__iexact=short)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment