[update] add description of deploying to cloudflare

This commit is contained in:
PrinOrange
2024-09-17 10:47:56 +08:00
parent 528d6c4b5a
commit 92828e4acc
2 changed files with 14 additions and 1 deletions

View File

@@ -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.