File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 21
21
22
22
steps :
23
23
- name : Check out
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
26
26
- name : Step rust toolchain
27
27
uses : actions-rs/toolchain@v1
@@ -58,12 +58,12 @@ jobs:
58
58
59
59
steps :
60
60
- name : Check out
61
- uses : actions/checkout@v3
61
+ uses : actions/checkout@v4
62
62
with :
63
63
ref : ${{ github.event.pull_request.head.sha }}
64
64
65
65
- name : Setup node.js
66
- uses : actions/setup-node@v3
66
+ uses : actions/setup-node@v4
67
67
with :
68
68
node-version : 20.x
69
69
cache : ' npm'
@@ -144,12 +144,12 @@ jobs:
144
144
145
145
steps :
146
146
- name : Check out
147
- uses : actions/checkout@v3
147
+ uses : actions/checkout@v4
148
148
with :
149
149
ref : ${{ github.event.pull_request.head.sha }}
150
150
151
151
- name : Setup node.js
152
- uses : actions/setup-node@v3
152
+ uses : actions/setup-node@v4
153
153
with :
154
154
node-version : 20.x
155
155
cache : ' npm'
@@ -197,7 +197,7 @@ jobs:
197
197
npx @vscode/vsce package --pre-release --target ${{ steps.target.outputs.TARGET }} --no-update-package-json --no-git-tag-version ${{ steps.version.outputs.VERSION }}
198
198
199
199
- name : Upload artifact
200
- uses : actions/upload-artifact@v3
200
+ uses : actions/upload-artifact@v4
201
201
with :
202
202
name : ${{ steps.target.outputs.TARGET }}
203
203
path : ' *.vsix'
Original file line number Diff line number Diff line change 1
- pub const BLOG_BACKEND : & str = "https://i .cnblogs.com/api" ;
1
+ pub const BLOG_BACKEND : & str = "https://write .cnblogs.com/api" ;
2
2
3
3
#[ macro_export]
4
4
macro_rules! blog_backend {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export namespace Browser.Open.User {
28
28
void open ( `https://www.cnblogs.com/${ blogApp } ` )
29
29
}
30
30
31
- export const blogConsole = ( ) => open ( 'https://i .cnblogs.com' )
31
+ export const blogConsole = ( ) => open ( 'https://write .cnblogs.com' )
32
32
33
33
export async function home ( ) {
34
34
const accountId = ( await UserService . getUserInfo ( ) ) ?. accountId
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ import { Browser } from '@/cmd/browser'
7
7
export const openPostInBlogAdmin = ( arg ?: PostTreeItem | Post | Uri ) => {
8
8
if ( arg instanceof Post ) {
9
9
const postId = arg . id
10
- return Browser . Open . open ( `https://i .cnblogs.com/posts/edit;postId=${ postId } ` )
10
+ return Browser . Open . open ( `https://write .cnblogs.com/posts/edit;postId=${ postId } ` )
11
11
}
12
12
if ( arg instanceof PostTreeItem ) {
13
13
const postId = arg . post . id
14
- return Browser . Open . open ( `https://i .cnblogs.com/posts/edit;postId=${ postId } ` )
14
+ return Browser . Open . open ( `https://write .cnblogs.com/posts/edit;postId=${ postId } ` )
15
15
}
16
16
if ( arg instanceof Uri ) {
17
17
const postId = PostFileMapManager . getPostId ( arg . path )
18
18
if ( postId === undefined ) return
19
- return Browser . Open . open ( `https://i .cnblogs.com/posts/edit;postId=${ postId } ` )
19
+ return Browser . Open . open ( `https://write .cnblogs.com/posts/edit;postId=${ postId } ` )
20
20
}
21
21
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export namespace ExtConst {
13
13
export const CLIENT_SEC = CNBLOGS_CLIENTSECRET
14
14
15
15
export namespace ApiBase {
16
- export const BLOG_BACKEND = 'https://i .cnblogs.com/api'
16
+ export const BLOG_BACKEND = 'https://write .cnblogs.com/api'
17
17
export const OPENAPI = 'https://api.cnblogs.com/api'
18
18
export const OAUTH = 'https://oauth.cnblogs.com'
19
19
}
You can’t perform that action at this time.
0 commit comments