Update main.py
This commit is contained in:
parent
fe68a052d3
commit
82bbad528a
1 changed files with 4 additions and 0 deletions
4
main.py
4
main.py
|
|
@ -123,6 +123,10 @@ def background_updater():
|
||||||
def index():
|
def index():
|
||||||
return render_template("index.html")
|
return render_template("index.html")
|
||||||
|
|
||||||
|
@app.route('/favicon.png')
|
||||||
|
def serve_favicon():
|
||||||
|
return send_from_directory(app.template_folder, 'favicon.png')
|
||||||
|
|
||||||
@app.route("/artists.csv")
|
@app.route("/artists.csv")
|
||||||
def serve_csv():
|
def serve_csv():
|
||||||
if os.path.exists(CSV_FILE):
|
if os.path.exists(CSV_FILE):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue