diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-09-07 08:32:01 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2016-09-07 08:32:01 +0200 |
| commit | 8d4dd3c5153d8e2990c36d727c812df16c38764c (patch) | |
| tree | 4acfbef52556e60e4fffe2baef402663662781b5 | |
| parent | ce371f766a724bae26acb2221d0e1daef8acad5b (diff) | |
[fix] 404 HTTP status on not found pages - closes #681
| -rw-r--r-- | searx/webapp.py | 2 |
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(): |