diff --git a/README.zh.md b/README.zh.md index c35c881..2abbf29 100644 --- a/README.zh.md +++ b/README.zh.md @@ -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` @@ -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 diff --git a/main.js b/main.js index 18a6ebd..397595d 100644 --- a/main.js +++ b/main.js @@ -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) diff --git a/main_d1.js b/main_d1.js index d45cd46..412ca2a 100644 --- a/main_d1.js +++ b/main_d1.js @@ -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)