mirror of
https://github.com/searx/searx
synced 2025-08-30 14:08:47 +00:00
[fix] 404 HTTP status on not found pages - closes #681
This commit is contained in:
@@ -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():
|
||||
|
Reference in New Issue
Block a user