Skip to content

Commit

Permalink
Replaces http protocol use by https (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
fathzer authored May 11, 2024
1 parent 0541689 commit 6d46f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/engine_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def get_lichess_egtb_move(li: LICHESS_TYPE, game: model.Game, board: chess.Board
pieces = chess.popcount(board.occupied)
max_pieces = 7 if board.uci_variant == "chess" else 6
if pieces <= max_pieces:
data = li.online_book_get(f"http://tablebase.lichess.ovh/{variant}",
data = li.online_book_get(f"https://tablebase.lichess.ovh/{variant}",
params={"fen": board.fen()})
if quality == "best":
move = data["moves"][0]["uci"]
Expand Down
2 changes: 1 addition & 1 deletion wiki/Configure-lichess-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ There are many possible options within `config.yml` for configuring lichess-bot.

## Engine options
- `protocol`: Specify which protocol your engine uses. Choices are
1. `"uci"` for the [Universal Chess Interface](http://wbec-ridderkerk.nl/html/UCIProtocol.html)
1. `"uci"` for the [Universal Chess Interface](https://wbec-ridderkerk.nl/html/UCIProtocol.html)
2. `"xboard"` for the XBoard/WinBoard/[Chess Engine Communication Protocol](https://www.gnu.org/software/xboard/engine-intf.html)
3. `"homemade"` if you want to write your own engine in Python within lichess-bot. See [**Create a homemade engine**](https://github.com/lichess-bot-devs/lichess-bot/wiki/Create-a-homemade-engine).
- `ponder`: Specify whether your bot will ponder--i.e., think while the bot's opponent is choosing a move.
Expand Down

0 comments on commit 6d46f2b

Please sign in to comment.