Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,11 @@ def index():
|
|
| 10 |
def league():
|
| 11 |
return send_from_directory('.', 'league.html')
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
@app.route('/<path:path>')
|
| 14 |
def static_proxy(path):
|
| 15 |
# Serve static files (images, js, css) if referenced
|
|
|
|
| 10 |
def league():
|
| 11 |
return send_from_directory('.', 'league.html')
|
| 12 |
|
| 13 |
+
@app.route('/league.html')
|
| 14 |
+
def league_html():
|
| 15 |
+
# Alias to support environments that request the .html path explicitly
|
| 16 |
+
return send_from_directory('.', 'league.html')
|
| 17 |
+
|
| 18 |
@app.route('/<path:path>')
|
| 19 |
def static_proxy(path):
|
| 20 |
# Serve static files (images, js, css) if referenced
|