diff --git a/frontend/agentic-seek-front/src/App.js b/frontend/agentic-seek-front/src/App.js index e5690c4..6222e11 100644 --- a/frontend/agentic-seek-front/src/App.js +++ b/frontend/agentic-seek-front/src/App.js @@ -6,10 +6,10 @@ import { ThemeToggle } from "./components/ThemeToggle"; import { ResizableLayout } from "./components/ResizableLayout"; import faviconPng from "./logo.png"; -const BACKEND_URL = - "http://localhost:7777" || process.env.REACT_APP_BACKEND_URL; +const BACKEND_URL = process.env.REACT_APP_BACKEND_URL || 'http://localhost:7777'; console.log("Using backend URL:", BACKEND_URL); + function App() { const [query, setQuery] = useState(""); const [messages, setMessages] = useState([]);