agenticSeek icon indicating copy to clipboard operation
agenticSeek copied to clipboard

Env variable REACT_APP_BACKEND_URL is not affect

Open lehuannhatrang opened this issue 10 months ago • 2 comments

  • Issue: Currently, the frontend always calls the backend at http://localhost:7777, no matter how I change REACT_APP_BACKEND_URL environment 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 avatar Jun 17 '25 05:06 lehuannhatrang

@lehuannhatrang Modify in your own way, prompting the backend to go offline, so there should be an issue with this modification

shuaiderena avatar Jun 18 '25 02:06 shuaiderena

@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.

lehuannhatrang avatar Jun 18 '25 06:06 lehuannhatrang

was fixed in latest frontend integration #336

Fosowl avatar Jun 21 '25 13:06 Fosowl