Spaces:
Sleeping
Sleeping
Commit
·
adc9994
1
Parent(s):
0907a69
Update app.py
Browse files
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',
|
|
|
|
|
|
|
|
|
|
| 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>
|