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 1, 2024
2 parents 5a7f43e + a9f36e6 commit a7da1da
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
6 changes: 6 additions & 0 deletions libs/zhi-blog-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# zhi-blog-api

## 1.55.0

### Minor Changes

- feat: add corsAnywhereUrl

## 1.54.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-blog-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-blog-api",
"version": "1.54.1",
"version": "1.55.0",
"type": "module",
"description": "a common blog interface",
"main": "./dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions libs/zhi-blog-api/src/lib/blogConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ abstract class BlogConfig {
*/
public middlewareUrl?: string

/**
* 新跨域代理地址
*/
public corsAnywhereUrl?: string

/**
* 是否启用用户名
*/
Expand Down Expand Up @@ -269,6 +274,7 @@ abstract class BlogConfig {
this.placeholder = undefined
this.preferenceConfig = new PreferenceConfig()
this.middlewareUrl = ""
this.corsAnywhereUrl = ""
this.usernameEnabled = false
this.showTokenTip = false
this.allowPreviewUrlChange = true
Expand Down
7 changes: 7 additions & 0 deletions libs/zhi-siyuan-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# zhi-siyuan-api

## 2.18.2

### Patch Changes

- Updated dependencies
- zhi-blog-api@1.55.0

## 2.18.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.18.1",
"version": "2.18.2",
"type": "module",
"description": "a siyuan-note api including both kernel and client",
"main": "./dist/index.js",
Expand Down

0 comments on commit a7da1da

Please sign in to comment.