set favicon
ElLorans opened this issue · 1 comments
ElLorans commented
Does the API allow to set up the favicon? Or should I copy the jinja template, add the favicon, and override the default?
ElLorans commented
solved: flask-admin sends a request to /favicon.ico, so you just need to add this url
@app.route("/favicon.ico")
def favicon() -> Response:
"""
Prevent GET /favicon.ico 404 from flask-admin.
:return:
"""
# redirect to your favicon