Skip to content

Commit 940c6a4

Browse files
committed
refactor: use shorter pat url
1 parent 0068501 commit 940c6a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<kbd><img src="https://img2020.cnblogs.com/blog/1596066/202112/1596066-20211228125556260-986735114.png" height="150"></kbd>
3737

38-
扩展同时支持浏览器授权和个人访问令牌(PAT)授权,PAT 可由[账户设置](https://account.cnblogs.com/settings/account/personal-access-token)创建。
38+
扩展同时支持浏览器授权和个人访问令牌(PAT)授权,PAT 可通过 https://account.cnblogs.com/tokens 创建。
3939

4040
### 将本地 markdown 发布到博客园
4141

src/auth/account-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export namespace AccountManagerNg {
4444
export async function patLogin() {
4545
const opt = {
4646
title: '请输入您的个人访问令牌 (PAT)',
47-
prompt: '您可以从账户设置中获取个人访问令牌:\nhttps://account.cnblogs.com/settings/account/personal-access-token',
47+
prompt: '可通过 https://account.cnblogs.com/tokens 获取',
4848
password: true,
4949
} as InputBoxOptions
5050
const pat = await window.showInputBox(opt)

0 commit comments

Comments
 (0)