Commit bc165ca6 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

added http protocol to da qr code

parent 41986621
......@@ -150,7 +150,7 @@ def view(request, short):
do not need to be logged in to view info.
"""
domain = request.META.get('HTTP_HOST') + "/"
domain = "http://%s" % request.META.get('HTTP_HOST') + "/"
url = get_object_or_404(URL, short__iexact = short)
......@@ -173,7 +173,7 @@ def my_links(request):
urls = URL.objects.filter( owner = request.user )
domain = request.META.get('HTTP_HOST') + "/"
domain = "http://%s" % request.META.get('HTTP_HOST') + "/"
return render(request, 'my_links.html', {
'urls' : urls,
......
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