The frontend needs to know the backend API URL to communicate with the OpenManus backend.
Add the following environment variable in the Vercel dashboard or your deployment platform:
VITE_BACKEND_URL=https://your-backend-url.com
For local development, you can create a .env.local file:
# .env.local (for local development only)
VITE_BACKEND_URL=http://localhost:8000If VITE_BACKEND_URL is not set, the frontend will default to http://localhost:8000.
See the backend README at /home/ubuntu/openmanus-backend/README.md for backend configuration details.