Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit 3c50a3b

Browse files
committed
fix(url): lint code and replace original workers url in doc
1 parent 0269775 commit 3c50a3b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/api-zh-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### 接口调用地址
88

9-
自行部署的 CloudFlare Worker 地址,例如:https://url.dem0.workers.dev 或是自行绑定的域名
9+
自行部署的 CloudFlare Worker 地址,例如:https://fuki.andatoshiki.workers.dev 或是自行绑定的域名
1010

1111
### 调用方式:HTTP POST 请求格式: JSON
1212

@@ -40,4 +40,4 @@
4040
| status | int | 状态码:200 为调用成功 | 200 |
4141
| key | string | 短链接后缀:需要自行添加域名前缀 | /xxxxxx |
4242

43-
注:接口只会返回短链接对应的 key 值,实际使用中需要添加对应的域名前缀,如:示例中返回的 key 参数是 "/demo" ,则我们需要添加 "https://url.dem0.workers.dev" 作为前缀,将其补全成完整的 url 即可使用,即:https://url.dem0.workers.dev/demo
43+
注:接口只会返回短链接对应的 key 值,实际使用中需要添加对应的域名前缀,如:示例中返回的 key 参数是 "/demo" ,则我们需要添加 "https://fuki.andatoshiki.workers.dev" 作为前缀,将其补全成完整的 url 即可使用,即:https://fuki.andatoshiki.workers.dev/demo

docs/api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Short links can be generated in a programmable way by calling the API interface
66

77
### API call address
88

9-
Self-deployed CloudFlare Worker address, for example: https://url.dem0.workers.dev or a self-bound domain name
9+
Self-deployed CloudFlare Worker address, for example: https://fuki.andatoshiki.workers.dev or a self-bound domain name
1010

1111
### Calling method: HTTP POST Request format: JSON
1212

@@ -40,4 +40,4 @@ Example:
4040
| status | int | Status code: 200 is a successful call | 200 |
4141
| key | string | Short link suffix: you need to add the domain name prefix | /xxxxxx |
4242

43-
Note: The interface will only return the key value corresponding to the short link. In actual use, the corresponding domain name prefix needs to be added. For example, if the key parameter returned in the example is "/demo", we need to add "https://url.dem0.workers.dev" as a prefix, it can be used by completing it as a complete url, namely: https://url.dem0.workers.dev/demo
43+
Note: The interface will only return the key value corresponding to the short link. In actual use, the corresponding domain name prefix needs to be added. For example, if the key parameter returned in the example is "/demo", we need to add "https://fuki.andatoshiki.workers.dev" as a prefix, it can be used by completing it as a complete url, namely: https://fuki.andatoshiki.workers.dev/demo

src/components/themes/toshikimoe/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,4 +262,4 @@ <h5 class="modal-title" id="exampleModalCenterTitle"><strong>Note</strong></h5>
262262
</div>
263263
</div>
264264
</body>
265-
</html>
265+
</html>

0 commit comments

Comments
 (0)