mirror of
https://github.com/searxng/searxng.git
synced 2024-11-17 18:00:12 +01:00
[fix] 404 HTTP status on not found pages - closes #681
This commit is contained in:
parent
ce371f766a
commit
8d4dd3c515
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user