Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:terwer/zhi into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 30, 2024
2 parents 6172bb1 + 2c36a42 commit 434fd5d
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 3,547 deletions.
6 changes: 6 additions & 0 deletions libs/zhi-siyuan-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# zhi-siyuan-api

## 2.20.0

### Minor Changes

- feat: add picgo timeout field

## 2.19.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-siyuan-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-siyuan-api",
"version": "2.19.1",
"version": "2.20.0",
"type": "module",
"description": "a siyuan-note api including both kernel and client",
"main": "./dist/index.js",
Expand Down
5 changes: 5 additions & 0 deletions libs/zhi-siyuan-api/src/lib/config/siyuanConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ class SiyuanConfig extends BlogConfig {
*/
public notebook: string

/**
* PicGo 上传超时时间
*/
public picgoUploadTimeout = 10000

constructor(apiUrl?: string, password?: string) {
super()
this.home = "http://127.0.0.1:6806"
Expand Down
Loading

0 comments on commit 434fd5d

Please sign in to comment.