fix([2fd88f42]): correct docker networking issue for frontend API calls

This commit is contained in:
2026-02-04 12:08:25 +00:00
parent 17bc085fb1
commit 20dd56b5cf
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ function App() {
setIsLoading(true);
setError(null);
try {
const response = await axios.post('http://localhost:8002/api/heatmap', {
const response = await axios.post('http://backend:8000/api/heatmap', {
filters: selectedFilters,
});
setHeatmapData(response.data);

View File

@@ -39,7 +39,7 @@ const FileUpload: React.FC<FileUploadProps> = ({ onUploadSuccess, setIsLoading,
setError(null);
try {
const response = await axios.post('http://localhost:8002/api/upload', formData, {
const response = await axios.post('http://backend:8000/api/upload', formData, {
headers: {
'Content-Type': 'multipart/form-data',
},