feat: add Cloudflare Pages configuration via wrangler.toml

This commit is contained in:
kuekhaoyang
2025-12-24 15:53:40 +08:00
parent 968133d6f9
commit e94ad19646
2 changed files with 11 additions and 1 deletions
+7 -1
View File
@@ -155,7 +155,13 @@ docker run -d -p 3000:3000 -e ACCESS_PASSWORD=your_secret_password --name kvideo
#### 选项 1Vercel 一键部署(推荐)
#### 选项 1Cloudflare Pages 一键部署(推荐)
<a href="https://deploy.workers.cloudflare.com/?url=https://github.com/KuekHaoYang/KVideo">
<img src="https://deploy.workers.cloudflare.com/button" alt="Deploy to Cloudflare Pages" />
</a>
#### 选项 2Vercel 一键部署
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/KuekHaoYang/KVideo)
+4
View File
@@ -0,0 +1,4 @@
name = "kvideo"
pages_build_output_dir = ".vercel/output/static"
compatibility_date = "2025-11-17"
compatibility_flags = ["nodejs_compat"]