Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsung committed Jan 3, 2024
1 parent c104378 commit 1e771df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
2. **可选**)设置`别名`。创建 `KV`、,并绑定到此 Workers 服务。
- 2.1a 手动后台绑定,(`Settings` -> `Variables` -> `KV Namespace Bindings` -> `Add binding` -> `Variable name (datastore)`, `选择创建的 KV`
- 2.1b 通过命令行创建:`wrangler kv:namespace create datastore`
3. `KV` 设置 `别名值`,Key 为别名(单词),Value(目标域名,含 `http(s)://`)。
3. `KV` 设置 `别名值`,Key 为别名(单词),Value(目标网址,含 `http(s)://`)。

4. 最终访问域名地址组合为:
> https://wcdn.kkgo.cc/github.com/servless/worker-cdn > https://wcdn.kkgo.cc/github/servless/worker-cdn (别名)
> https://wcdn.kkgo.cc/rawgh/servless/worker-cdn/main/README.md[别名](https://raw.githubusercontent.com/servless/worker-cdn/main/README.md)
### 本地部署到 CloudFlare

Expand Down

0 comments on commit 1e771df

Please sign in to comment.