[fix] 404 HTTP status on not found pages - closes #681
commit8d4dd3c5153d8e2990c36d727c812df16c38764c
authorAdam Tauber <asciimoo@gmail.com>
dateWed 7 Sep 2016, 08:32 (10 years ago)
parentce371f7
searx/webapp.py+1−1
@@ -721,7 +721,7 @@ def config():
721721
722722@app.errorhandler(404)
723723def page_not_found(e):
724− return render('404.html')
724+ return render('404.html'), 404
725725
726726
727727def run():