Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 4, 2025
1 parent e92d7be commit 1c6b639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ def play():

@app.route('/play', methods=["GET"])
def handle_play():
return app.send_static_file('play.html')
return app.send_static_file('index.html')

@app.route('/ping', methods=["GET"])
def handle_ping():
return "Ok", 200

@app.errorhandler(404)
def handle_404(e):
return app.send_static_file('play.html')
return app.send_static_file('index.html')

host = os.getenv('HOST', '0.0.0.0')
port = os.getenv('PORT', 8123)
Expand Down

0 comments on commit 1c6b639

Please sign in to comment.