Files
web2app/.env.example
shumengya 8d6e2e00b8 fix: reduce upload failures on Cloudflare Workers
Optimize zip validation, lower max upload to 25MB, raise CPU limit, and show clear errors when Cloudflare returns HTML error pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 14:14:46 +08:00

12 lines
320 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本地开发:复制为 .dev.varsWrangler 自动加载,勿提交)
# cp .env.example .dev.vars
#
# 生产部署:敏感项用 wrangler secret put
# wrangler secret put GITHUB_TOKEN
GITHUB_TOKEN=ghp_your_personal_access_token
GITHUB_OWNER=shumengya
GITHUB_REPO=Web2App
DEFAULT_BRANCH=main
MAX_UPLOAD_MB=25