mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-04 22:05:45 +01:00
Fix unexpected keyword argument 'favicon_path'
This commit is contained in:
@@ -63,9 +63,9 @@ def index():
|
||||
"""
|
||||
return render_template('index.html')
|
||||
|
||||
@app.route('/favico<path:favicon_path>')
|
||||
@app.route('/request/favico<path:favicon_path>')
|
||||
@app.route('/request/static/favico<path:favicon_path>')
|
||||
@app.route('/favico<path:_>')
|
||||
@app.route('/request/favico<path:_>')
|
||||
@app.route('/request/static/favico<path:_>')
|
||||
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
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user