Lichess4545 / heltour

Chess tournament management software for the Lichess4545 league
https://www.lichess4545.com/
MIT License
46 stars 38 forks source link

Use settings instead of hardcoding #500

Closed glbert-does closed 1 year ago

glbert-does commented 1 year ago

amongst many, many other places, "lichess.org" is hardcoded into the api_worker. if i change my settings to lichess.dev, and try to login via a lichess.dev user that does not exist on lichess.org, this will lead to an error in the api_worker and the login fails.

there are likely other places where reading the settings would make testing in other places than .org easier, but this one fixes my immediate problem.