fix: use direct host IP http://192.168.30.30:2024 for LangGraph API
Deploy LangGraph Server to Azure Web App / build-and-deploy (push) Failing after 28s
Deploy LangGraph UI to Azure Static Web Apps / build-and-deploy (push) Failing after 37s

This commit is contained in:
gongzhiyong
2026-04-11 13:36:37 +08:00
parent 216650837a
commit 6400d85027
2 changed files with 2 additions and 8 deletions
+1 -4
View File
@@ -20,11 +20,8 @@ import CanvasPanel, { type CanvasDoc } from "@/components/CanvasPanel.tsx";
import FileUploadButton, { type SelectedFile } from "@/components/FileUploadButton.tsx";
import FileAttachmentPreview from "@/components/FileAttachmentPreview.tsx";
// In Docker dev: VITE_LANGGRAPH_URL is empty → use window.location.origin (same-origin, Vite proxies to langgraph-dev:2024)
// Locally without Docker: falls back to http://localhost:2024
const LANGGRAPH_URL =
import.meta.env.VITE_LANGGRAPH_URL ||
(typeof window !== "undefined" ? window.location.origin : "http://localhost:2024");
import.meta.env.VITE_LANGGRAPH_URL ?? "http://localhost:2024";
// ─── Tool groups ────────────────────────────────────────────────────────────
const TOOL_GROUPS = [