From 8d4dd3c5153d8e2990c36d727c812df16c38764c Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Wed, 7 Sep 2016 08:32:01 +0200 Subject: [PATCH] [fix] 404 HTTP status on not found pages - closes #681 --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index f76281a5..262bf9bd 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():