mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-21 15:55:50 +00:00
POST /upload 鉴权上传 HTML 到 R2 返回 hash URL,GET /<7d|30d>/<id>.html 由 Worker 代理读取并直出 text/html。R2 lifecycle rule 自动 7/30 天删除。 独立服务,不被主 CLI 引用(类似 packages/remote-control-server/ 定位)。 Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win>
17 lines
308 B
TOML
17 lines
308 B
TOML
name = "cloud-artifacts"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2026-06-20"
|
|
|
|
[[r2_buckets]]
|
|
binding = "BUCKET"
|
|
bucket_name = "cloud-artifacts"
|
|
|
|
[vars]
|
|
PUBLIC_URL = "https://artifacts.claude-code-best.win"
|
|
DEFAULT_TTL_DAYS = "7"
|
|
MAX_TTL_DAYS = "30"
|
|
MAX_BYTES = "10485760"
|
|
|
|
[observability]
|
|
enabled = true
|