fix : frontend back url

This commit is contained in:
martin legrand
2025-06-14 13:44:32 +02:00
14 changed files with 36 additions and 34 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ import axios from 'axios';
import './App.css';
import { colors } from './colors';
const BACKEND_URL = process.env.BACKEND_PORT || 'http://0.0.0.0:8000';
const BACKEND_URL = 'http://localhost:7777' || process.env.REACT_APP_BACKEND_URL;
console.log('Using backend URL:', BACKEND_URL);
function App() {
const [query, setQuery] = useState('');