Skip to content

Conversation

tinycedar
Copy link

No description provided.

Copy link
Owner

@aylei aylei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Daniel, do you think it would be better if user can choose the leetcode site?

const PROBLEMS_URL: &str = "https://leetcode.com/api/problems/algorithms/";
const GRAPHQL_URL: &str = "https://leetcode.com/graphql";
const PROBLEMS_URL: &str = "https://leetcode-cn.com/api/problems/algorithms/";
const GRAPHQL_URL: &str = "https://leetcode-cn.com/graphql";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a command line argument to override the hostname?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll add it

Cupnfish added a commit to Cupnfish/leetcode-rust that referenced this pull request Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants