mirror of
https://github.com/searxng/searxng.git
synced 2024-11-17 18:00:12 +01:00
[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
Block a user