Skip to content

Commit

Permalink
Fix: Typo in Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cwxia0s committed Feb 19, 2024
1 parent 0758fda commit d157d32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Bark-Worker 是一个 [Bark-Server](https://github.com/Finb/bark-server) 在 Clo
> 如果worker.dev域名在当前国家/地区不可用,则需要一个自己的域名
## 特性
- 支持所有的Bark-Worker API
- 支持所有的Bark-Server API
- `register`
- `ping`
- `healthz`
Expand All @@ -34,11 +34,11 @@ Bark-Worker 是一个 [Bark-Server](https://github.com/Finb/bark-server) 在 Clo

### Cloudflare D1 版本

Create a Worker and a D1 Database, bind D1 database to Worker with name `database`
创建一个Worker和D1 数据库, 将D1 数据库绑定至Worker并命名为 `database`

### Cloudflare KV 版本

Create a Worker and a KV Storage, bind KV Storage to Worker with name `database`
创建一个Worker和KV 存储, 将KV 存储绑定至Worker并命名为 `database`

## Tips

Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ async function handleRequest(request, env, ctx) {
*/
class Handler {
constructor(env) {
this.version = "v2.0.2"
this.build = "2024-02-19 17:19:46"
this.version = "v2.1.0"
this.build = "2024-02-19 17:33:31"
this.arch = "js"
this.commit = "ac3d39de02748e6b3998e0c97ab62645684ab49a"
this.commit = "0758fdaa00072e310163c36209923c21e68d6e10"

const db = new Database(env)

Expand Down
6 changes: 3 additions & 3 deletions main_d1.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ async function handleRequest(request, env, ctx) {
*/
class Handler {
constructor(env) {
this.version = "v2.0.2"
this.build = "2024-02-19 17:19:46"
this.version = "v2.1.0"
this.build = "2024-02-19 17:33:31"
this.arch = "js"
this.commit = "ac3d39de02748e6b3998e0c97ab62645684ab49a"
this.commit = "0758fdaa00072e310163c36209923c21e68d6e10"

const db = new Database(env)

Expand Down

0 comments on commit d157d32

Please sign in to comment.