From 242af69099f3157bc2e45e31a33747204934dad1 Mon Sep 17 00:00:00 2001 From: CaliBrain Date: Wed, 18 Dec 2024 08:34:01 -0500 Subject: [PATCH] Fix unexpected keyword argument 'favicon_path' --- app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 0ec5c365..739a9c28 100644 --- a/app.py +++ b/app.py @@ -63,9 +63,9 @@ def index(): """ return render_template('index.html') -@app.route('/favico') -@app.route('/request/favico') -@app.route('/request/static/favico') +@app.route('/favico') +@app.route('/request/favico') +@app.route('/request/static/favico') def favicon(_): return send_from_directory(os.path.join(app.root_path, 'static', 'media'), 'favicon.ico', mimetype='image/vnd.microsoft.icon') @@ -230,4 +230,4 @@ if __name__ == '__main__': host=FLASK_HOST, port=FLASK_PORT, debug=FLASK_DEBUG # Disable debug mode in production - ) \ No newline at end of file + )