agenticSeek
agenticSeek copied to clipboard
Env variable REACT_APP_BACKEND_URL is not affect
-
Issue:
Currently, the frontend always calls the backend at
http://localhost:7777, no matter how I changeREACT_APP_BACKEND_URLenvironment variable. - Root Cause: https://github.com/Fosowl/agenticSeek/blob/6bb0e5a16b599670c73fbe252d57f98aa23cece2/frontend/agentic-seek-front/src/App.js#L7
This should be reversed:
const BACKEND_URL = process.env.REACT_APP_BACKEND_URL || 'http://localhost:7777';
@lehuannhatrang Modify in your own way, prompting the backend to go offline, so there should be an issue with this modification
@shuaiderena i don't think this fix cause backend offline as it only fixes the usage of REACT_APP_BACKEND_URL env variable. Please check your backend logs.
was fixed in latest frontend integration #336