Skip to content

Commit 5cd2819

Browse files
committed
Use new tablebase endpoint and send token
1 parent db51f03 commit 5cd2819

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ async def get_cloud_eval(self, fen: str, variant: Variant, timeout: int) -> dict
214214

215215
async def get_egtb(self, fen: str, variant: str, timeout: int) -> dict[str, Any] | None:
216216
try:
217-
async with self.external_session.get(
218-
f"https://tablebase.lichess.ovh/{variant}",
217+
async with self.lichess_session.get(
218+
f"https://tablebase.lichess.org/{variant}",
219219
params={"fen": fen},
220220
timeout=aiohttp.ClientTimeout(total=timeout),
221221
) as response:

0 commit comments

Comments
 (0)