Adjust favicon 404 route for type hints
This commit is contained in:
parent
99db7df7f1
commit
be4db13179
|
@ -355,8 +355,9 @@ def api_valid_hit() -> werkzeug.wrappers.response.Response:
|
||||||
|
|
||||||
|
|
||||||
@app.route("/favicon.ico")
|
@app.route("/favicon.ico")
|
||||||
def favicon() -> None:
|
def favicon() -> Response:
|
||||||
flask.abort(404)
|
"""No favicon."""
|
||||||
|
return flask.Response(status=404)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue