Skip to content

Commit fbfbfae

Browse files
committed
docs: add rate limit and CORS to .env.example
1 parent 4fc59bb commit fbfbfae

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ OPENCLAW_GATEWAY_URL=http://localhost:18789
3131
# WECHAT_APPID=wx_your_app_id_here
3232
# WECHAT_SECRET=your_app_secret_here
3333

34+
# === 安全 ===
35+
# API 速率限制(默认 60/min,设 0 关闭)
36+
# CONTENTPIPE_RATE_LIMIT=60/min
37+
# CORS 允许的来源(逗号分隔,留空不启用)
38+
# CONTENTPIPE_CORS_ORIGINS=https://your-frontend.com,http://localhost:3000
39+
3440
# === LLM API Keys(llm_mode=direct 时需要,gateway 模式不需要) ===
3541
# OPENAI_API_KEY=sk-...
3642
# ANTHROPIC_API_KEY=sk-ant-...

0 commit comments

Comments
 (0)