Paweł Łaba commited on
Commit
eeff95a
·
1 Parent(s): dd9b72e

zmiany w index

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -40,6 +40,10 @@ class TicTacToeAI:
40
  # Inicjalizacja AI
41
  ai = TicTacToeAI()
42
 
 
 
 
 
43
  @app.route('/api/move', methods=['POST'])
44
  def get_move():
45
  """
 
40
  # Inicjalizacja AI
41
  ai = TicTacToeAI()
42
 
43
+ @app.route("/")
44
+ def home():
45
+ return render_template("public/index.html")
46
+
47
  @app.route('/api/move', methods=['POST'])
48
  def get_move():
49
  """