diff --git a/heatmap-tool/docker-compose.yml b/heatmap-tool/docker-compose.yml index 6a392936..9aea2fd2 100644 --- a/heatmap-tool/docker-compose.yml +++ b/heatmap-tool/docker-compose.yml @@ -4,7 +4,7 @@ services: backend: build: ./backend ports: - - "8001:8000" + - "8002:8000" volumes: - ./backend:/app diff --git a/heatmap-tool/frontend/src/App.tsx b/heatmap-tool/frontend/src/App.tsx index 5913075a..81824e3a 100644 --- a/heatmap-tool/frontend/src/App.tsx +++ b/heatmap-tool/frontend/src/App.tsx @@ -35,7 +35,7 @@ function App() { setIsLoading(true); setError(null); try { - const response = await axios.post('http://localhost:8001/api/heatmap', { + const response = await axios.post('http://localhost:8002/api/heatmap', { filters: selectedFilters, }); setHeatmapData(response.data); diff --git a/heatmap-tool/frontend/src/components/FileUpload.tsx b/heatmap-tool/frontend/src/components/FileUpload.tsx index 436db851..4ccd5f3c 100644 --- a/heatmap-tool/frontend/src/components/FileUpload.tsx +++ b/heatmap-tool/frontend/src/components/FileUpload.tsx @@ -39,7 +39,7 @@ const FileUpload: React.FC = ({ onUploadSuccess, setIsLoading, setError(null); try { - const response = await axios.post('http://localhost:8001/api/upload', formData, { + const response = await axios.post('http://localhost:8002/api/upload', formData, { headers: { 'Content-Type': 'multipart/form-data', },