forked from zaclys/searxng
[mod] index rendering
This commit is contained in:
parent
9eb31c0186
commit
599c801ecd
|
@ -103,6 +103,9 @@ def index():
|
||||||
Supported outputs: html, json, csv, rss.
|
Supported outputs: html, json, csv, rss.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if not request.args and not request.form:
|
||||||
|
return render('index.html')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
search = Search(request)
|
search = Search(request)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue