From 466f53254bc91a7de64d1c0ada05b6cf25899087 Mon Sep 17 00:00:00 2001 From: Dream Hunter Date: Wed, 16 Apr 2025 00:07:12 +0800 Subject: [PATCH] feat: docs: update worker doc (#633) --- vitepress-docs/docs/zh/guide/actions/github-action.md | 2 ++ vitepress-docs/docs/zh/guide/cli/worker.md | 3 +++ vitepress-docs/docs/zh/guide/ui/pages.md | 3 +++ vitepress-docs/docs/zh/guide/ui/worker.md | 3 +++ 4 files changed, 11 insertions(+) diff --git a/vitepress-docs/docs/zh/guide/actions/github-action.md b/vitepress-docs/docs/zh/guide/actions/github-action.md index cafb8aa0..38202718 100644 --- a/vitepress-docs/docs/zh/guide/actions/github-action.md +++ b/vitepress-docs/docs/zh/guide/actions/github-action.md @@ -3,6 +3,8 @@ ::: warning 注意 目前只支持 worker 和 pages 的部署。 有问题请通过 `Github Issues` 反馈,感谢。 + +`worker.dev` 域名在中国无法访问,请自定义域名 ::: ## 部署步骤 diff --git a/vitepress-docs/docs/zh/guide/cli/worker.md b/vitepress-docs/docs/zh/guide/cli/worker.md index 66fec40c..d035c353 100644 --- a/vitepress-docs/docs/zh/guide/cli/worker.md +++ b/vitepress-docs/docs/zh/guide/cli/worker.md @@ -1,5 +1,8 @@ # Cloudflare Worker 后端 +> [!warning] 注意 +> `worker.dev` 域名在中国无法访问,请自定义域名 + ## 初始化项目 ```bash diff --git a/vitepress-docs/docs/zh/guide/ui/pages.md b/vitepress-docs/docs/zh/guide/ui/pages.md index c587062b..9d29d9b3 100644 --- a/vitepress-docs/docs/zh/guide/ui/pages.md +++ b/vitepress-docs/docs/zh/guide/ui/pages.md @@ -54,6 +54,9 @@ const generate = async () => { - 此处 worker 域名为后端 api 的域名,比如我部署在 `https://temp-email-api.awsl.uk`,则填写 `https://temp-email-api.awsl.uk` - 如果你的域名是 `https://temp-email-api.xxx.workers.dev`,则填写 `https://temp-email-api.xxx.workers.dev` + > [!warning] 注意 + > `worker.dev` 域名在中国无法访问,请自定义域名 +
diff --git a/vitepress-docs/docs/zh/guide/ui/worker.md b/vitepress-docs/docs/zh/guide/ui/worker.md index 79ee9a21..58f78e96 100644 --- a/vitepress-docs/docs/zh/guide/ui/worker.md +++ b/vitepress-docs/docs/zh/guide/ui/worker.md @@ -1,5 +1,8 @@ # Cloudflare workers 后端 +> [!warning] 注意 +> `worker.dev` 域名在中国无法访问,请自定义域名 + 1. 点击 `Workers & Pages` -> `Overview` -> `Create Application` ![create worker](/ui_install/worker_home.png)