image.png
# custom static file folder
app = Flask(self, __name__, static_folder='/app/static')
# http://xxx/static/favicon.ico
favicon_path = url_for('static', filename='favicon')
<link ref="shortcut icon" href="/static/favicon.ico" />
# custom static file folder
app = Flask(self, __name__, static_folder='/app/static')
# http://xxx/static/favicon.ico
favicon_path = url_for('static', filename='favicon')
<link ref="shortcut icon" href="/static/favicon.ico" />