Docfile commited on
Commit
3075b60
·
verified ·
1 Parent(s): 56eb498

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -124,10 +124,7 @@ def analyze_position():
124
  except Exception as e:
125
  return jsonify({'error': f'Erreur analyse: {str(e)}'}), 500
126
 
127
- @app.route('/api/new_game', methods=['POST'])
128
- def new_game():
129
- starting_fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
130
- return jsonify({'fen': starting_fen})
131
 
132
  if __name__ == '__main__':
133
  app.run(debug=True, port=5000)
 
124
  except Exception as e:
125
  return jsonify({'error': f'Erreur analyse: {str(e)}'}), 500
126
 
127
+
 
 
 
128
 
129
  if __name__ == '__main__':
130
  app.run(debug=True, port=5000)