[update] add description of deploying to cloudflare
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
- [部署](#%E9%83%A8%E7%BD%B2)
|
||||
- [部署到 Vercel](#%E9%83%A8%E7%BD%B2%E5%88%B0-vercel)
|
||||
- [部署到服务器](#%E9%83%A8%E7%BD%B2%E5%88%B0%E6%9C%8D%E5%8A%A1%E5%99%A8)
|
||||
- [部署到 Cloudflare Pages](#%E9%83%A8%E7%BD%B2%E5%88%B0-cloudflare-pages)
|
||||
- [感谢](#%E6%84%9F%E8%B0%A2)
|
||||
- [开源许可](#%E5%BC%80%E6%BA%90%E8%AE%B8%E5%8F%AF)
|
||||
|
||||
@@ -309,6 +310,12 @@ Sponsor: {
|
||||
|
||||
另外,你可以使用 Let's Encrypt + Certbot 为网站配置免费的 SSL 证书,[点击这里获得更详细的说明。](https://letsencrypt.org/getting-started/)
|
||||
|
||||
#### 部署到 Cloudflare Pages
|
||||
|
||||
本项目目前暂时**不支持**部署到 Cloudflare Pages。因为本项目中的全文搜索功能还不支持在 Edge Runtime 中运行。本项目在动态运行时中使用了 MDX 库来对文档进行索引编排,而 Edge Runtime 和 MDX.js 库的 API 接口互不兼容。
|
||||
|
||||
不过这一方面的内容仍然在探索中。
|
||||
|
||||
### 感谢
|
||||
|
||||
- 感谢 [@timlrx](https://github.com/timlrx) 的项目 [tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog) 给予的启发,为我提供了完成这个项目的理念和技术灵感。
|
||||
|
||||
@@ -45,11 +45,11 @@ It has all the basic functions of a blog website: tag classification, writing, c
|
||||
- [Deployment](#deployment)
|
||||
- [Deploying to Vercel](#deploying-to-vercel)
|
||||
- [Deploying to a Server](#deploying-to-a-server)
|
||||
- [Deploy to Cloudflare Pages](#deploy-to-cloudflare-pages)
|
||||
- [Thanks](#thanks)
|
||||
- [Open Source License](#open-source-license)
|
||||
|
||||
<!-- /TOC -->
|
||||
|
||||
### Feature Support
|
||||
|
||||
| Feature | Support |
|
||||
@@ -314,6 +314,12 @@ Deploying to your own server can be a bit more complex. We recommend using [PM2.
|
||||
|
||||
Additionally, you can use Let's Encrypt + Certbot to configure a free SSL certificate for the website. [Click here for more detailed instructions.](https://letsencrypt.org/getting-started/)
|
||||
|
||||
#### Deploy to Cloudflare Pages
|
||||
|
||||
This project currently **does NOT** support deployment to Cloudflare Pages. This is because the full-text search feature in this project does not yet support running in Edge Runtime. This project uses the MDX library to index documents in the dynamic runtime, and the API interfaces of the Edge Runtime and MDX.js library are incompatible.
|
||||
|
||||
However, this aspect is still under exploration.
|
||||
|
||||
### Thanks
|
||||
|
||||
- Thanks for the inspirations from [@timlrx](https://github.com/timlrx) 's project [tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog), which provides me a conception and technology inspirations to finish this project.
|
||||
|
||||
Reference in New Issue
Block a user