summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-07 08:32:01 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-07 08:32:01 +0200
commit8d4dd3c5153d8e2990c36d727c812df16c38764c (patch)
tree4acfbef52556e60e4fffe2baef402663662781b5 /searx/webapp.py
parentce371f766a724bae26acb2221d0e1daef8acad5b (diff)
[fix] 404 HTTP status on not found pages - closes #681
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index f76281a5d..262bf9bdf 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -721,7 +721,7 @@ def config():
@app.errorhandler(404)
def page_not_found(e):
- return render('404.html')
+ return render('404.html'), 404
def run():