fix(security): 修复 P0 安全漏洞 (Session越权+CORS白名单+用户名枚举)
This commit is contained in:
1 parent
702d4ee1fe
commit
380cc24913
7 files changed
+161
-15
No files matched your search
@@ -55,6 +55,9 @@ ENABLE_BACKGROUND_THINKING=true
|
||||
# ========== Webhook (第三方平台接入) ==========
|
||||
WEBHOOK_API_KEY=your-webhook-api-key
|
||||
|
||||
# ========== CORS 跨域白名单 (逗号分隔) ==========
|
||||
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:5199,http://localhost:3000
|
||||
|
||||
# ========== 记忆系统 ==========
|
||||
MEMORY_FILE_PATH=./data/memory
|
||||
VECTOR_DB_URL=http://localhost:6333
|
||||
|
||||
Reference in new issue
Block a user