mirror of https://github.com/CIRCL/lookyloo
fix: Pass public_domain to index
parent
fbd981d543
commit
05b106f14b
|
@ -414,7 +414,7 @@ def index_generic(show_hidden: bool=False, category: Optional[str]=None):
|
|||
titles.append((cached.uuid, cached.title, cached.timestamp.isoformat(), cached.url,
|
||||
cached.redirects, cached.incomplete_redirects))
|
||||
titles = sorted(titles, key=lambda x: (x[2], x[3]), reverse=True)
|
||||
return render_template('index.html', titles=titles)
|
||||
return render_template('index.html', titles=titles, public_domain=lookyloo.public_domain)
|
||||
|
||||
|
||||
# ##### Index level methods #####
|
||||
|
|
Loading…
Reference in New Issue