Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 331719e

Browse files
committed
fix: update cn domain
1 parent de1dc41 commit 331719e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- English Document | [中文文档](https://github.com/LeetCode-OpenSource/vscode-leetcode/blob/master/docs/README_zh-CN.md)
2424

2525
## ❗️ Attention ❗️- Workaround to login to LeetCode endpoint
26-
> Note: If you are using `leetcode-cn.com`, you can just ignore this section.
26+
> Note: If you are using `leetcode.cn`, you can just ignore this section.
2727
2828
Recently we observed that [the extension cannot login to leetcode.com endpoint anymore](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478). The root cause of this issue is that leetcode.com changed its login mechanism and so far there is no ideal way to fix that issue.
2929

@@ -63,7 +63,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
6363

6464
- The supported endpoints are:
6565
- **leetcode.com**
66-
- **leetcode-cn.com**
66+
- **leetcode.cn**
6767

6868
> Note: The accounts of different endpoints are **not** shared. Please make sure you are using the right endpoint. The extension will use `leetcode.com` by default.
6969

‎docs/README_zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- [English Document](https://github.com/LeetCode-OpenSource/vscode-leetcode#requirements) | 中文文档
2424

2525
## ❗️ 注意 ❗️- 无法登录 LeetCode 节点的临时解决办法
26-
> 注意:如果使用的是 `leetcode-cn.com` 账户,可以跳过此段落。
26+
> 注意:如果使用的是 `leetcode.cn` 账户,可以跳过此段落。
2727
2828
近期我们发现插件出现了[无法登录 leetcode.com 节点的问题](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478)。原因是因为近期 leetcode.com 改变了登录机制,目前我们暂时没有找到解决该问题的完美解决方案。
2929

@@ -64,7 +64,7 @@
6464

6565
- 目前可切换的版本有:
6666
- **leetcode.com**
67-
- **leetcode-cn.com**
67+
- **leetcode.cn**
6868

6969
> 注意:两种版本的 LeetCode 账户并**不通用**,请确保当前激活的版本是正确的。插件默认激活的是**英文版**
7070

‎src/commands/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function switchEndpoint(): Promise<void> {
2121
},
2222
{
2323
label: `${isCnEnabled ? "$(check) " : ""}力扣`,
24-
description: "leetcode-cn.com",
24+
description: "leetcode.cn",
2525
detail: `启用中国版 LeetCode`,
2626
value: Endpoint.LeetCodeCN,
2727
},

‎src/utils/uiUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function promptForSignIn(): Promise<void> {
4848
break;
4949
case DialogOptions.singUp:
5050
if (getLeetCodeEndpoint()) {
51-
openUrl("https://leetcode-cn.com");
51+
openUrl("https://leetcode.cn");
5252
} else {
5353
openUrl("https://leetcode.com");
5454
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /