fix : frontend back url
This commit is contained in:
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user