Skip to content

Conversation

@Ryderhxrzy
Copy link
Owner

Fix 'Connection Error' on Home page by using configured API_BASE_URL and correct health check endpoint.

The previous code hardcoded http://localhost:5000 and attempted to hit the root path / for a health check, which did not exist. This PR updates the frontend to consistently use the VITE_API_BASE_URL environment variable and correctly call the /api/health endpoint, resolving the connection error.


Open in Cursor Open in Web

Co-authored-by: rhxrzy <rhxrzy@gmail.com>
@cursor
Copy link

cursor bot commented Oct 18, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Oct 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
techno-ai-react-js Ready Ready Preview Comment Oct 18, 2025 6:31pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants