Commit 452c5ef8 authored by Nicholas Anderson's avatar Nicholas Anderson
Browse files

Fixes #29

parent ee5e0c97
...@@ -154,7 +154,7 @@ def view(request, short): ...@@ -154,7 +154,7 @@ def view(request, short):
do not need to be logged in to view info. do not need to be logged in to view info.
""" """
domain = "//%s" % request.META.get('HTTP_HOST') + "/" domain = "%s://%s" % (request.scheme, request.META.get('HTTP_HOST')) + "/"
url = get_object_or_404(URL, short__iexact=short) 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