christopher commited on
Commit
adc9994
·
1 Parent(s): 0907a69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -22,7 +22,10 @@ def read_root():
22
  <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
23
  <script src="/static/chessboard-1.0.0.min.js"></script>
24
  <script>
25
- var board = Chessboard('board', 'start');
 
 
 
26
  </script>
27
  </body>
28
  </html>
 
22
  <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
23
  <script src="/static/chessboard-1.0.0.min.js"></script>
24
  <script>
25
+ var board = Chessboard('board', {
26
+ position: 'start',
27
+ pieceTheme: '/static/img/chesspieces/wikipedia/{piece}.png'
28
+ });
29
  </script>
30
  </body>
31
  </html>