Paweł Łaba commited on
Commit
2ffd5df
·
1 Parent(s): 745e516

zmiana w uruchamianiu proagramu

Browse files
Files changed (1) hide show
  1. public/script.js +2 -2
public/script.js CHANGED
@@ -72,8 +72,8 @@ function updateBoardDisplay() {
72
  headers: {
73
  'Content-Type': 'application/json'
74
  },
75
- body: JSON.stringify({ board: newBoard })
76
- });
77
  }
78
 
79
  } else if (!board.includes(0)) {
 
72
  headers: {
73
  'Content-Type': 'application/json'
74
  },
75
+ body: JSON.stringify({ final_board: newBoard, sequence:step })
76
+ }).then(res => res.json());
77
  }
78
 
79
  } else if (!board.includes(0)) {