From cb0206e9eedf4a68e2221311f1bf8c3efe5884c2 Mon Sep 17 00:00:00 2001 From: martin legrand Date: Sun, 6 Jul 2025 00:19:46 +0200 Subject: [PATCH] fix : problem with frontend connection url selection --- frontend/agentic-seek-front/src/App.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/agentic-seek-front/src/App.js b/frontend/agentic-seek-front/src/App.js index 6222e11..4c74758 100644 --- a/frontend/agentic-seek-front/src/App.js +++ b/frontend/agentic-seek-front/src/App.js @@ -6,10 +6,9 @@ import { ThemeToggle } from "./components/ThemeToggle"; import { ResizableLayout } from "./components/ResizableLayout"; import faviconPng from "./logo.png"; -const BACKEND_URL = process.env.REACT_APP_BACKEND_URL || 'http://localhost:7777'; +const BACKEND_URL = 'http://localhost:7777' || process.env.REACT_APP_BACKEND_URL; console.log("Using backend URL:", BACKEND_URL); - function App() { const [query, setQuery] = useState(""); const [messages, setMessages] = useState([]);