Brozy123 commited on
Commit
6f1e1a8
·
verified ·
1 Parent(s): f8f3961

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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