Files
socaichat/langgraph/langgraph.json
T
gongzhiyongandClaude Sonnet 4.6 60735de884
Deploy LangGraph Server to Azure Web App / build-and-deploy (push) Failing after 16s
Deploy LangGraph UI to Azure Static Web Apps / build-and-deploy (push) Failing after 43s
fix(security): strip Azure HTTP headers from thread config to prevent IP leak
The LangGraph API server injects all x-* request headers into
thread.config.configurable, which gets persisted and exposed via
POST /threads/search. This leaked Azure-injected headers (x-forwarded-for,
x-client-ip, x-arr-ssl, etc.) to any user.

Adds a Hono middleware (http.app) that strips sensitive infrastructure
headers at the HTTP layer before they reach the LangGraph API routes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 20:48:06 +08:00

15 lines
251 B
JSON

{
"node_version": "20",
"graphs": {
"agent": "./src/agent/supervisor/index.ts:graph"
},
"ui": {
"agent": "./src/agent-uis/index.tsx"
},
"http": {
"app": "./src/agent/http.ts:app"
},
"env": ".env",
"dependencies": ["."]
}