leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

Add environment variable override for cookie configuration

Open yousiki opened this issue 8 months ago • 0 comments

Cookies can now be overridden using LEETCODE_CSRF, LEETCODE_SESSION, and LEETCODE_SITE environment variables when loading configuration. I think someone might want to split their cookies from leetcode.toml and keep other configurations in leetcode.toml synchronized by git, e.g., me 🤣.

TODO

  • Update README.md with corresponding doc.

yousiki avatar Jun 15 '25 06:06 yousiki