Skip to content

Commit

Permalink
Update LeetCode China API endpoint (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
cascandaliato authored Jan 10, 2024
1 parent 0e50db7 commit fb160b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/users/[user]/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
throw new Error("User not found");

const processResponse: processResponse = await axios.post(
"https://leetcode-cn.com/graphql",
"https://leetcode.cn/graphql",
queryProcess(user as string),
{
headers: {
Expand Down

0 comments on commit fb160b7

Please sign in to comment.