Skip to content

中文版 AI 姿势参考图库 · 1439 组 / 2878 张图片 / 完整汉化 · 零依赖静态画廊

chore(wrangler): remove empty PROXY_ALLOWED_ORIGINS plain_text binding so cf secrets/dashboard vars can bind it

Alone8836ff730bea10
diff --git a/wrangler.jsonc b/wrangler.jsonc
index 9ab81ba..3dd843d 100644
--- a/wrangler.jsonc
+++ b/wrangler.jsonc
@@ -7,11 +7,8 @@
"enabled": true
},
"previews": {},
- // 可选环境变量:在 Cloudflare 控制台 Variables and Secrets 或下方 vars 中配置 PROXY_ALLOWED_ORIGINS
- // 多个上游规则用逗号分隔,支持精确域名或 * 通配子域名,例如:"https://*.openai.com,https://*.volces.com,https://api.example.com"
- "vars": {
- "PROXY_ALLOWED_ORIGINS": ""
- },
+ // 可选环境变量:通过 `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",