中文版 AI 姿势参考图库 · 1439 组 / 2878 张图片 / 完整汉化 · 零依赖静态画廊
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "ai-pose-gallery-zh",
"main": "worker.ts",
"compatibility_date": "2025-10-01",
"observability": {
"enabled": true
},
"previews": {},
// 可选环境变量:通过 `cf workers secrets update PROXY_ALLOWED_ORIGINS --worker ai-pose-gallery-zh --text "https://..." --type secret_text`
// 或在 Cloudflare 控制台 Variables and Secrets 中配置 PROXY_ALLOWED_ORIGINS(支持逗号分隔的精确域名或 https://*.openai.com 泛子域名)
"assets": {
"directory": "./dist",
"binding": "ASSETS",
"not_found_handling": "single-page-application",
"run_worker_first": ["/api/*"]
}
}