summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/webapp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 5d5ac2187..8c3cfe4a7 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -103,6 +103,9 @@ def index():
Supported outputs: html, json, csv, rss.
"""
+ if not request.args and not request.form:
+ return render('index.html')
+
try:
search = Search(request)
except: