Use 404
This commit is contained in:
parent
bb59637d8f
commit
8120a1d77e
1 changed files with 0 additions and 1 deletions
|
@ -22,7 +22,6 @@ def catchall(request, id):
|
|||
return redirect(link.url)
|
||||
return redirect("http://" + link.url)
|
||||
except Exception as e:
|
||||
return HttpResponse(e)
|
||||
parsed = urlparse(id)
|
||||
if parsed.netloc:
|
||||
link = Link(url=id, ip=get_client_ip(request))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue