chore: sync local changes to Gitea
This commit is contained in:
13
wrangler.toml
Normal file
13
wrangler.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Cloudflare Workers AI 反向代理(OpenAI / Anthropic 兼容)。
|
||||
# 在此填写账户 ID;API Token 不要提交仓库,应用 secret 注入:
|
||||
# npx wrangler secret put CLOUDFLARE_API_TOKEN
|
||||
#
|
||||
name = "worker-ai-proxy"
|
||||
main = "worker.js"
|
||||
compatibility_date = "2025-05-18"
|
||||
|
||||
[vars]
|
||||
# 访客密钥(Authorization: Bearer ... 或 x-api-key)。
|
||||
PROXY_API_KEY = "sk-shumengya666"
|
||||
# Cloudflare 账户 ID(控制台 URL 或 Workers 概览可查看)。
|
||||
CLOUDFLARE_ACCOUNT_ID = "3fdbaad92364222635c5c1c41ff1af8b"
|
||||
Reference in New Issue
Block a user