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 2121
2222 steps :
2323 - name : Check out
24- uses : actions/checkout@v3
24+ uses : actions/checkout@v4
2525
2626 - name : Step rust toolchain
2727 uses : actions-rs/toolchain@v1
@@ -58,12 +58,12 @@ jobs:
5858
5959 steps :
6060 - name : Check out
61- uses : actions/checkout@v3
61+ uses : actions/checkout@v4
6262 with :
6363 ref : ${{ github.event.pull_request.head.sha }}
6464
6565 - name : Setup node.js
66- uses : actions/setup-node@v3
66+ uses : actions/setup-node@v4
6767 with :
6868 node-version : 20.x
6969 cache : ' npm'
@@ -144,12 +144,12 @@ jobs:
144144
145145 steps :
146146 - name : Check out
147- uses : actions/checkout@v3
147+ uses : actions/checkout@v4
148148 with :
149149 ref : ${{ github.event.pull_request.head.sha }}
150150
151151 - name : Setup node.js
152- uses : actions/setup-node@v3
152+ uses : actions/setup-node@v4
153153 with :
154154 node-version : 20.x
155155 cache : ' npm'
@@ -197,7 +197,7 @@ jobs:
197197 npx @vscode/vsce package --pre-release --target ${{ steps.target.outputs.TARGET }} --no-update-package-json --no-git-tag-version ${{ steps.version.outputs.VERSION }}
198198
199199 - name : Upload artifact
200- uses : actions/upload-artifact@v3
200+ uses : actions/upload-artifact@v4
201201 with :
202202 name : ${{ steps.target.outputs.TARGET }}
203203 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" ;
22
33#[ macro_export]
44macro_rules! blog_backend {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export namespace Browser.Open.User {
2828 void open ( `https://www.cnblogs.com/${ blogApp } ` )
2929 }
3030
31- export const blogConsole = ( ) => open ( 'https://i .cnblogs.com' )
31+ export const blogConsole = ( ) => open ( 'https://write .cnblogs.com' )
3232
3333 export async function home ( ) {
3434 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'
77export const openPostInBlogAdmin = ( arg ?: PostTreeItem | Post | Uri ) => {
88 if ( arg instanceof Post ) {
99 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 } ` )
1111 }
1212 if ( arg instanceof PostTreeItem ) {
1313 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 } ` )
1515 }
1616 if ( arg instanceof Uri ) {
1717 const postId = PostFileMapManager . getPostId ( arg . path )
1818 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 } ` )
2020 }
2121}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export namespace ExtConst {
1313 export const CLIENT_SEC = CNBLOGS_CLIENTSECRET
1414
1515 export namespace ApiBase {
16- export const BLOG_BACKEND = 'https://i .cnblogs.com/api'
16+ export const BLOG_BACKEND = 'https://write .cnblogs.com/api'
1717 export const OPENAPI = 'https://api.cnblogs.com/api'
1818 export const OAUTH = 'https://oauth.cnblogs.com'
1919 }
You can’t perform that action at this time.
0 commit comments