fix again
This commit is contained in:
parent
7e9f74cbff
commit
f22ad478eb
1 changed files with 1 additions and 3 deletions
4
main.py
4
main.py
|
|
@ -13,6 +13,7 @@ import json
|
|||
from flask_cors import CORS
|
||||
|
||||
app = Flask(__name__)
|
||||
CORS(app)
|
||||
|
||||
ZIP_URL = "https://docs.google.com/spreadsheets/d/1S6WwM05O277npQbaiNk-jZlXK3TdooSyWtqaWUvAI78/export?format=zip"
|
||||
XLSX_URL = "https://docs.google.com/spreadsheets/d/1S6WwM05O277npQbaiNk-jZlXK3TdooSyWtqaWUvAI78/export?format=xlsx"
|
||||
|
|
@ -248,9 +249,6 @@ def update_loop():
|
|||
|
||||
time.sleep(600) # 10 minutes
|
||||
|
||||
app = Flask(__name__)
|
||||
CORS(app)
|
||||
|
||||
@app.route("/artists.html")
|
||||
def serve_artists_html():
|
||||
return send_file(HTML_FILENAME, mimetype="text/html")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue