Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/content/docs/zh-cn/guides/deploy/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: 如何使用 Cloudflare Pages 将你的 Astro 网站部署到网络
type: deploy
i18nReady: true
---
import ReadMore from '~/components/ReadMore.astro'

你可以将你的 Astro 项目部署在 [Cloudflare Pages](https://pages.cloudflare.com/) 上。Cloudflare Pages 是一个供前端开发人员协作和部署静态 (JAMstack) 或 SSR 网站的平台。

Expand Down Expand Up @@ -126,7 +127,7 @@ npx astro add cloudflare

首先,在你项目的根目录下创建一个 `/functions` 目录。在此目录中编写的 Functions 文件会自动在预先指定的目录上生成具有自定义功能的 Worker。要了解有关编写函数的更多信息,请参阅 [Pages Functions 文档](https://developers.cloudflare.com/pages/platform/functions/)。

📚 阅读更多关于 [Astro 中的 SSR(服务端渲染)](/zh-cn/guides/server-side-rendering/) 的信息
<ReadMore>阅读更多关于 [Astro 中的 SSR(服务端渲染)](/zh-cn/guides/server-side-rendering/) 的信息。</ReadMore>

## 故障排除

Expand Down