diff --git a/README.md b/README.md index d822764..ded6aa4 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,13 @@ docker run -d -p 3000:3000 -e ACCESS_PASSWORD=your_secret_password --name kvideo -#### 选项 1:Vercel 一键部署(推荐) +#### 选项 1:Cloudflare Pages 一键部署(推荐) + + + Deploy to Cloudflare Pages + + +#### 选项 2:Vercel 一键部署 [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/KuekHaoYang/KVideo) diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..bf0953b --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,4 @@ +name = "kvideo" +pages_build_output_dir = ".vercel/output/static" +compatibility_date = "2025-11-17" +compatibility_flags = ["nodejs_compat"]