File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed 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