Browse Source

[fix] 404 HTTP status on not found pages - closes #681

Adam Tauber 8 years ago
parent
commit
8d4dd3c515
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/webapp.py

+ 1 - 1
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():