Verified Commit ec23ae96 authored by David Haynes's avatar David Haynes 🙆
Browse files

Force links to be listed with HTTPS

- add an "s"

Closes #113
parent 8c33f886
...@@ -42,7 +42,7 @@ def index(request): ...@@ -42,7 +42,7 @@ def index(request):
return render(request, 'not_registered.html') return render(request, 'not_registered.html')
# Get the current domain info # 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 # Grab a list of all the URL's that are currently owned by the user
urls = URL.objects.filter(owner=request.user.registereduser) urls = URL.objects.filter(owner=request.user.registereduser)
......
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